New tests
This commit is contained in:
parent
26388ea1b4
commit
e3cec201ee
4 changed files with 92 additions and 6 deletions
|
@ -129,7 +129,7 @@ class FrontController
|
|||
$response = $response->withHeader('Content-Type', 'audio/mpeg');
|
||||
|
||||
if ($request->isGet()) {
|
||||
$process = $this->download->getConversionProcess($params["url"], 'bestaudio/best');
|
||||
$process = $this->download->getAudioStream($params["url"], 'bestaudio/best');
|
||||
$response = $response->withBody(new Stream($process));
|
||||
}
|
||||
return $response;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue