add h264-only feature and HQ stream for revision

This commit is contained in:
Anton Schubert 2021-04-03 23:28:32 +02:00
parent 99dcee2b9a
commit 449fe43f66
No known key found for this signature in database
GPG key ID: B8DDB0A46D2D8626
6 changed files with 339 additions and 611 deletions

View file

@ -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

View file

@ -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',
),
),
);

View file

@ -81,6 +81,10 @@ class Room
}
}
public function h264Only() {
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.H264_ONLY', false);
}
public function hasStereo() {

View file

@ -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())?>"