From 97d432051f9ce0e6613675666033279d65925424 Mon Sep 17 00:00:00 2001
From: Lukas Schauer
Date: Fri, 4 Sep 2020 19:01:06 +0200
Subject: fix hls urls

---
 model/Stream.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'model/Stream.php')

diff --git a/model/Stream.php b/model/Stream.php
index 22b73b6..628dd57 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'], 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