summaryrefslogtreecommitdiff
path: root/templates/themes/stream/info.php
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2017-04-30 13:12:05 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2017-04-30 13:12:05 +0900
commitbb334124bedfd7988c746130b9787b6da2989cac (patch)
tree764bf5b87f9ea9a0827e261d87732cedf3c75688 /templates/themes/stream/info.php
parent9e2e08082b4b46058d102779d6c1606e07db5974 (diff)
Adding support for format selection for Stream theme / extension, as well as the ability to change CSS theme from stream page
Diffstat (limited to 'templates/themes/stream/info.php')
-rw-r--r--templates/themes/stream/info.php25
1 files changed, 22 insertions, 3 deletions
diff --git a/templates/themes/stream/info.php b/templates/themes/stream/info.php
index 081b29ca..d522032d 100644
--- a/templates/themes/stream/info.php
+++ b/templates/themes/stream/info.php
@@ -34,19 +34,26 @@
'title' => 'OGV stream URL',
'name' => 'ogvurl',
'type' => 'text',
- 'default' => 'https://lainchan.org/radio_assets/lainstream.ogg'
+ 'default' => 'https://lainchan.org/icecast/lainstream.ogg'
);
$theme['config'][] = Array(
'title' => 'RTMP stream URL',
'name' => 'rtmpurl',
'type' => 'text',
- 'default' => 'rtmp://lainchan.org/live/stream'
+ 'default' => 'rtmp://lainchan.org/show/stream'
);
$theme['config'][] = Array(
'title' => 'RTMP Video.JS stream URL',
'name' => 'rtmpvideojsurl',
'type' => 'text',
- 'default' => 'rtmp://lainchan.org/live/&stream'
+ 'default' => 'rtmp://lainchan.org/show/&stream'
+ );
+
+ $theme['config'][] = Array(
+ 'title' => 'RTMP HLS stream URL',
+ 'name' => 'hlsurl',
+ 'type' => 'text',
+ 'default' => 'https://lainchan.org:8080/hls/stream.m3u8'
);
$theme['config'][] = Array(
@@ -68,6 +75,18 @@
'type' => 'text',
'default' => '/live/subs?app=live&name=stream'
);
+ $theme['config'][] = Array(
+ 'title' => 'Formats',
+ 'name' => 'formats',
+ 'type' => 'text',
+ 'default' => 'hls ogg rtmp'
+ );
+ $theme['config'][] = Array(
+ 'title' => 'Default Format',
+ 'name' => 'defaultformat',
+ 'type' => 'text',
+ 'default' => 'hls ogg rtmp'
+ );
// Unique function name for building everything