diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 2040219..3d1e2f5 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -97,7 +97,9 @@ class FrontController $session_factory = new SessionFactory(); $session = $session_factory->newInstance($cookies); $this->sessionSegment = $session->getSegment(self::class); - if ($this->config->stream) { + if ($this->config->remux) { + $this->defaultFormat = 'bestvideo+bestaudio'; + } elseif ($this->config->stream) { $this->defaultFormat = 'best'; } }