aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2018-03-24 12:09:48 +0100
committerMaZderMind2018-03-24 12:16:24 +0100
commitaf1f5031603d0cef6db31f5119eb51a502d67c87 (patch)
treedad3e3ff24d58416cf0393a375db6d30e1852191 /index.php
parenta9b8687602112819599f33456404e41b441885c2 (diff)
select dash-stream as default, provide legacy streams under the legacy label
Diffstat (limited to '')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
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],