fix: Don't use the $url property
It is not reliable
This commit is contained in:
parent
ebed2cea88
commit
226f1b8380
2 changed files with 4 additions and 4 deletions
|
@ -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',
|
||||
]
|
||||
|
|
|
@ -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')],
|
||||
|
|
Loading…
Reference in a new issue