forked from leftypol/leftypol
Adding support for format selection for Stream theme / extension, as well as the ability to change CSS theme from stream page
This commit is contained in:
parent
b2d2edc404
commit
359a50169a
2 changed files with 93 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue