fix: Don't use the $url property

It is not reliable
This commit is contained in:
Pierre Rudloff 2019-04-21 22:20:05 +02:00
parent ebed2cea88
commit 226f1b8380
2 changed files with 4 additions and 4 deletions

View File

@ -361,7 +361,7 @@ class Video
],
$this->getRtmpArguments(),
[
'-i', $this->url,
'-i', $this->getUrl(),
'-f', $filetype,
'-b:a', $audioBitrate.'k',
],
@ -432,7 +432,7 @@ class Video
[
$this->config->avconv,
'-v', $this->config->avconvVerbosity,
'-i', $this->url,
'-i', $this->getUrl(),
'-f', $this->ext,
'-c', 'copy',
'-bsf:a', 'aac_adtstoasc',
@ -503,7 +503,7 @@ class Video
],
$this->getRtmpArguments(),
[
'-i', $this->url,
'-i', $this->getUrl(),
'-f', $this->ext,
'pipe:1',
]

View File

@ -397,7 +397,7 @@ class FrontController
$client = new Client();
$stream = $client->request(
'GET',
$this->video->url,
$this->video->getUrl(),
[
'stream' => true,
'headers' => ['Range' => $request->getHeader('Range')],