From a1cc81790f8a04108ff56739ba284d600c9fd4e9 Mon Sep 17 00:00:00 2001
From: Anton Schubert
Date: Sun, 28 May 2017 03:37:40 +0200
Subject: update dash-player to simultaneous dash/hls player

---
 model/Room.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'model')

diff --git a/model/Room.php b/model/Room.php
index ecab17e..f5eedbd 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -163,8 +163,12 @@ class Room
 		return $this->getConference()->get('ROOMS.'.$this->getSlug().'.DASH');
 	}
 
+	public function getHLSPlaylistUrl() {
+		return proto().'://cdn.c3voc.de/hls/'.rawurlencode($this->getSlug().'_'.$this->getStream()).'/master.m3u8';
+	}
+
 	public function getDashManifestUrl() {
-		return proto().'://dekan.cch.c3voc.de/dash/'.rawurlencode($this->getStream()).'/manifest.mpd';
+		return proto().'://cdn.c3voc.de/dash/'.rawurlencode($this->getSlug().'_'.$this->getStream()).'/manifest.mpd';
 	}
 
 	public function getDashTech() {
-- 
cgit v1.2.3