aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/model/Room.php b/model/Room.php
index b0f700a..28c60c6 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -48,7 +48,7 @@ class Room
}
public function getThumb() {
- return proto().'://cdn.c3voc.de'.joinpath(['/thumbnail', $this->getStream(), 'thumb.jpeg']);
+ return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], 'thumbnail', $this->getStream(), 'thumb.jpeg']);
}
public function getLink() {
@@ -201,11 +201,11 @@ class Room
}
public function getHLSPlaylistUrl() {
- return proto().'://cdn.c3voc.de/hls/'.rawurlencode($this->getStream()).'_native_hd.m3u8';
+ return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], 'hls', rawurlencode($this->getStream()).'_native_hd.m3u8']);
}
public function getDashManifestUrl() {
- return proto().'://cdn.c3voc.de/dash/'.rawurlencode($this->getStream()).'/manifest.mpd';
+ return proto().'://'.joinpath([$GLOBALS['CONFIG']['CDN'], 'dash', rawurlencode($this->getStream()).'/manifest.mpd']);
}
public function getDashTech() {