From 9c95a3f1268eb03af76b64a385ee7c121688c7c6 Mon Sep 17 00:00:00 2001 From: Lukas Schauer Date: Sat, 3 Apr 2021 23:51:54 +0200 Subject: fix hls path --- model/Stream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/Stream.php b/model/Stream.php index 628dd57..9166e91 100644 --- a/model/Stream.php +++ b/model/Stream.php @@ -138,7 +138,7 @@ class Stream return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], rawurlencode($this->getRoom()->getStream()).'_'.rawurlencode($this->getLanguage()).'_'.rawurlencode($selection).'.webm']); case 'hls': - return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], 'hls', rawurlencode($this->getRoom()->getStream()).'_'.rawurlencode($this->getLanguage()).'_'.rawurlencode($selection).'.m3u8']); + return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], 'hls', rawurlencode($this->getRoom()->getStream()).'/'.rawurlencode($this->getLanguage()).'_'.rawurlencode($selection).'.m3u8']); } return null; -- cgit v1.2.3