diff options
author | MaZderMind | 2014-10-19 20:47:58 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-19 20:47:58 +0200 |
commit | aa10d8d0e776506397403c2221704133d05b6e0f (patch) | |
tree | 103279962404b31fc72d9566a664fae423f15772 /lib/helper.php | |
parent | 48d947b34e87a26ba8bdbc55861bb6cd451a3ccc (diff) |
icecast/webm support
Diffstat (limited to 'lib/helper.php')
-rw-r--r-- | lib/helper.php | 3 |
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 '#'; |