updates
This commit is contained in:
parent
912aa99054
commit
22437918d9
4 changed files with 44 additions and 10 deletions
|
@ -278,8 +278,8 @@ class DownloadController extends BaseController
|
|||
$videoUrls = $this->video->getUrl();
|
||||
} catch (EmptyUrlException $e) {
|
||||
/*
|
||||
* If this happens it is probably a playlist
|
||||
* so it will either be handled by getStream() or throw an exception anyway.
|
||||
If this happens it is probably a playlist
|
||||
so it will either be handled by getStream() or throw an exception anyway.
|
||||
*/
|
||||
$videoUrls = [];
|
||||
}
|
||||
|
@ -327,7 +327,7 @@ class DownloadController extends BaseController
|
|||
$process = $this->downloader->getConvertedStream(
|
||||
$this->video,
|
||||
$request->getQueryParam('customBitrate'),
|
||||
$request->getQueryParam('customFormat')
|
||||
$request->getQueryParam('customFormat')
|
||||
);
|
||||
$response = $response->withBody(new Stream($process));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue