fix: Remux mode should fall back to best format if bestvideo+bestaudio is not available
This commit is contained in:
parent
44bed5335a
commit
298848a2f1
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class FrontController
|
||||||
$session = $session_factory->newInstance($cookies);
|
$session = $session_factory->newInstance($cookies);
|
||||||
$this->sessionSegment = $session->getSegment(self::class);
|
$this->sessionSegment = $session->getSegment(self::class);
|
||||||
if ($this->config->remux) {
|
if ($this->config->remux) {
|
||||||
$this->defaultFormat = 'bestvideo+bestaudio';
|
$this->defaultFormat = 'bestvideo+bestaudio,best';
|
||||||
} elseif ($this->config->stream) {
|
} elseif ($this->config->stream) {
|
||||||
$this->defaultFormat = 'best';
|
$this->defaultFormat = 'best';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue