fix: Try to convert bestaudio if possible

This commit is contained in:
Pierre Rudloff 2019-05-04 18:47:07 +02:00
parent 296a5f96b4
commit 30d52943e1

View file

@ -128,7 +128,7 @@ class DownloadController extends BaseController
return $frontController->password($request, $response);
} catch (Exception $e) {
// If MP3 is not available, we convert it.
$this->video = $this->video->withFormat($this->defaultFormat);
$this->video = $this->video->withFormat('bestaudio');
return $this->getConvertedAudioResponse($request, $response);
}