From c1348eec03d5412d073b019a9c529843d9b96e86 Mon Sep 17 00:00:00 2001
From: MaZderMind
Date: Sat, 29 Nov 2014 20:44:21 +0100
Subject: miniroom formats
---
template/assemblies/switcher/miniroom-audio.phtml | 6 +--
template/assemblies/switcher/miniroom-video.phtml | 55 +++++++++++++++++------
2 files changed, 45 insertions(+), 16 deletions(-)
(limited to 'template/assemblies')
diff --git a/template/assemblies/switcher/miniroom-audio.phtml b/template/assemblies/switcher/miniroom-audio.phtml
index 2de9169..12a7921 100644
--- a/template/assemblies/switcher/miniroom-audio.phtml
+++ b/template/assemblies/switcher/miniroom-audio.phtml
@@ -2,10 +2,10 @@
foreach(array('mp3', 'opus') as $iter): ?>
-
- =h(strtoupper($iter))?>
+ =h(strtoupper($iter))?>
-
- live podcast
+
+ audio
endforeach ?>
diff --git a/template/assemblies/switcher/miniroom-video.phtml b/template/assemblies/switcher/miniroom-video.phtml
index ace02bc..f6d052d 100644
--- a/template/assemblies/switcher/miniroom-video.phtml
+++ b/template/assemblies/switcher/miniroom-video.phtml
@@ -1,19 +1,48 @@
-Directlinks
+Formats
+
+
+
+ foreach(array('rtmp', 'hls') as $protocol): ?>
+ Directlinks (=h(strtoupper($protocol))?>)
+
+
+ if($protocol == 'hls')
+ $formats = array('auto', 'hd', 'sd');
+ else
+ $formats = array('hd', 'sd');
+ ?>
+ foreach($formats as $iter): ?>
+ -
+ =h(strtoupper($iter))?>
+
+
+ video
+
+
+ endforeach ?>
+
endforeach ?>
- -
- WebM
-
-
- live video-podcast
-
-
+
+Directlinks (WebM)
+
+ foreach(array('hd', 'sd') as $iter): ?>
+ -
+ =h(strtoupper($iter))?>
+
+
+ video
+
+
+ endforeach ?>
--
cgit v1.2.3