aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorLukas Schauer2020-09-04 19:01:06 +0200
committerLukas Schauer2020-09-04 19:01:06 +0200
commit97d432051f9ce0e6613675666033279d65925424 (patch)
tree0566994c7d1359305d8eea5edbdb4caffb865124 /model
parent5e0e4ccdedc0bdd691e974629511d86f71443b6b (diff)
fix hls urls
Diffstat (limited to 'model')
-rw-r--r--model/Stream.php2
1 files changed, 1 insertions, 1 deletions
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;