aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-22 20:25:35 +0100
committerMaZderMind2016-12-22 20:25:35 +0100
commitd00fda4353e943c249354edf6e11cccfdc089d83 (patch)
treed8ab8848b2f08f5289d117b349de50b824438a4f /model/Room.php
parentefdae0713ec5890aab5358747ffc304d97ab058b (diff)
working example of minimal dash player
Diffstat (limited to 'model/Room.php')
-rw-r--r--model/Room.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/model/Room.php b/model/Room.php
index b20a0f0..8ee4ce2 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -163,6 +163,10 @@ class Room
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.DASH');
}
+ public function getDashManifestUrl() {
+ return proto().'://cdn.c3voc.de/dash/'.rawurlencode($this->getStream()).'/manifest.mpd';
+ }
+
public function hasTranslation() {
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.TRANSLATION');
}