aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--model/Room.php4
-rw-r--r--view/streams-json-v1.php8
2 files changed, 12 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index fffb3c4..ecab17e 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -167,6 +167,10 @@ class Room
return proto().'://dekan.cch.c3voc.de/dash/'.rawurlencode($this->getStream()).'/manifest.mpd';
}
+ public function getDashTech() {
+ return 'Adaptive multi-format-multi-bitrate-Stream to rule the World!!1elf';
+ }
+
public function hasTranslation() {
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.TRANSLATION');
}
diff --git a/view/streams-json-v1.php b/view/streams-json-v1.php
index f64f627..8cdac19 100644
--- a/view/streams-json-v1.php
+++ b/view/streams-json-v1.php
@@ -62,6 +62,14 @@ foreach (Conferences::getActiveConferences() as $conference)
);
}
break;
+
+ case 'dash':
+ $urls['dash'] = array(
+ 'display' => $display,
+ 'tech' => $room->getDashTech(),
+ 'url' => $room->getDashManifestUrl(),
+ );
+ break;
}
$streams[] = array(