mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
add h264-only feature and HQ stream for revision
This commit is contained in:
parent
99dcee2b9a
commit
449fe43f66
6 changed files with 339 additions and 611 deletions
|
@ -41,6 +41,7 @@ $(function() {
|
|||
autoPlay: true,
|
||||
poster: $player.data("poster"),
|
||||
audioOnly: !!$player.data("audio-only"),
|
||||
h264Only: !!$player.data("h264-only"),
|
||||
preferredAudioLanguage: $player.data("preferred-language"),
|
||||
events: {
|
||||
onReady: function() {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -111,8 +111,11 @@ $CONFIG['OVERVIEW'] = array(
|
|||
*/
|
||||
'GROUPS' => array(
|
||||
'Live' => array(
|
||||
'revision',
|
||||
'revision'
|
||||
),
|
||||
'Live + HQ (Experimental)' => array(
|
||||
'revision_passthrough'
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -147,6 +150,32 @@ $CONFIG['ROOMS'] = array(
|
|||
'TEXT' => '#revision',
|
||||
),
|
||||
),
|
||||
'revision_passthrough' => array(
|
||||
'DISPLAY' => 'revision Passthrough',
|
||||
'STREAM' => 'revision_passthrough',
|
||||
'PREVIEW' => true,
|
||||
|
||||
'TRANSLATION' => true,
|
||||
'SD_VIDEO' => true,
|
||||
'HD_VIDEO' => true,
|
||||
'H264_ONLY' => true,
|
||||
'DASH' => true,
|
||||
'AUDIO' => true,
|
||||
'SLIDES' => false,
|
||||
'MUSIC' => false,
|
||||
|
||||
'SCHEDULE' => false,
|
||||
'SCHEDULE_NAME' => 'revision',
|
||||
'FEEDBACK' => false,
|
||||
'SUBTITLES' => false,
|
||||
'EMBED' => true,
|
||||
'IRC' => false,
|
||||
'TWITTER' => false,
|
||||
'TWITTER_CONFIG' => array(
|
||||
'DISPLAY' => '#revision @ twitter/mastodon',
|
||||
'TEXT' => '#revision',
|
||||
),
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
|
|
|
@ -81,6 +81,10 @@ class Room
|
|||
}
|
||||
}
|
||||
|
||||
public function h264Only() {
|
||||
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.H264_ONLY', false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function hasStereo() {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<div class="video-wrap"
|
||||
data-voc-player
|
||||
data-h264-only="<?=h($room->h264Only())?>"
|
||||
data-stream="<?=h($room->getStream())?>"
|
||||
data-poster="<?=h($stream->getPoster())?>"
|
||||
data-preferred-language="<?=($stream->getLanguage())?>"
|
||||
|
|
Loading…
Reference in a new issue