aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/audio.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/assemblies/switcher/audio.phtml')
-rw-r--r--template/assemblies/switcher/audio.phtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml
index 9f3ba76..271191e 100644
--- a/template/assemblies/switcher/audio.phtml
+++ b/template/assemblies/switcher/audio.phtml
@@ -30,8 +30,9 @@
<? foreach(Stream::getAudioProtos() as $proto => $display): ?>
<h3>Directlinks (<?=h($display)?>)</h3>
<div class="row">
+ <? $stream = $room->createStreamObject('music') ?>
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
- <div class="btn-group" role="group">
+ <div class="btn-group" role="group" title="<?=h($stream->getAudioTech($proto))?>">
<div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div>
<? if($room->hasTranslation()): ?>
@@ -46,7 +47,7 @@
<? else: ?>
- <a href="<?=h($room->createStreamObject('audio')->getAudioUrl($proto))?>" class="btn btn-default">
+ <a href="<?=h($stream->getAudioUrl($proto))?>" class="btn btn-default">
<span class="fa fa-volume-up"></span>
video
</a>