From af1f5031603d0cef6db31f5119eb51a502d67c87 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 24 Mar 2018 12:09:48 +0100 Subject: select dash-stream as default, provide legacy streams under the legacy label --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index a526b06..0de1823 100644 --- a/index.php +++ b/index.php @@ -295,7 +295,7 @@ try { require('view/room.php'); } - else if(preg_match('@^([^/]+)/(sd|audio|slides|dash)$@', $route, $m)) + else if(preg_match('@^([^/]+)/(hd|sd|audio|slides|video)$@', $route, $m)) { $_GET = array( 'room' => $m[1], @@ -305,7 +305,7 @@ try { require('view/room.php'); } - else if(preg_match('@^([^/]+)/(sd|audio|slides|dash)/i18n/([^/]+)$@', $route, $m)) + else if(preg_match('@^([^/]+)/(hd|sd|audio|slides|video)/i18n/([^/]+)$@', $route, $m)) { $_GET = array( 'room' => $m[1], @@ -315,7 +315,7 @@ try { require('view/room.php'); } - else if(preg_match('@^embed/([^/]+)/(hd|sd|audio|slides)/(native|stereo|[^/]+)(/no-autoplay)?$@', $route, $m)) + else if(preg_match('@^embed/([^/]+)/(hd|sd|audio|slides|dash)/(native|stereo|[^/]+)(/no-autoplay)?$@', $route, $m)) { $_GET = array( 'room' => $m[1], -- cgit v1.2.3