aboutsummaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
authorMaZderMind2014-10-19 20:47:58 +0200
committerMaZderMind2014-10-19 20:47:58 +0200
commitaa10d8d0e776506397403c2221704133d05b6e0f (patch)
tree103279962404b31fc72d9566a664fae423f15772 /lib/helper.php
parent48d947b34e87a26ba8bdbc55861bb6cd451a3ccc (diff)
icecast/webm support
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 23bf051..8951948 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -27,6 +27,9 @@ function link_stream($protocol, $room, $format, $translated = false)
case 'hls':
return 'http://hls.streaming.media.ccc.de/hls/'.rawurlencode($room).'_'.rawurlencode($language).'_'.rawurlencode($format).'.m3u8';
+
+ case 'icecast':
+ return 'http://webm.streaming.media.ccc.de:8000/'.rawurlencode($room).'_'.rawurlencode($language).'.'.rawurlencode($format);
}
return '#';