Enables local video flip menu by default.

This commit is contained in:
damencho 2019-05-23 19:07:05 +03:00 committed by Дамян Минков
parent 840c0190c4
commit 0dad99c3b7
3 changed files with 6 additions and 3 deletions

View File

@ -414,6 +414,10 @@ var config = {
// use only. // use only.
// _desktopSharingSourceDevice: 'sample-id-or-label' // _desktopSharingSourceDevice: 'sample-id-or-label'
// A property to disable the right click context menu for localVideo
// the menu has option to flip the locally seen video for local presentations
// disableLocalVideoFlip: false
// List of undocumented settings used in jitsi-meet // List of undocumented settings used in jitsi-meet
/** /**
_immediateReloadThreshold _immediateReloadThreshold
@ -428,7 +432,6 @@ var config = {
dialOutCodesUrl dialOutCodesUrl
disableRemoteControl disableRemoteControl
displayJids displayJids
enableLocalVideoFlip
etherpad_base etherpad_base
externalConnectUrl externalConnectUrl
firefox_fake_device firefox_fake_device

View File

@ -32,7 +32,7 @@ function LocalVideo(VideoLayout, emitter, streamEndedCallback) {
this.localVideoId = null; this.localVideoId = null;
this.bindHoverHandler(); this.bindHoverHandler();
if (config.enableLocalVideoFlip) { if (!config.disableLocalVideoFlip) {
this._buildContextMenu(); this._buildContextMenu();
} }
this.isLocal = true; this.isLocal = true;

View File

@ -101,7 +101,7 @@ const WHITELISTED_KEYS = [
'enableDisplayNameInStats', 'enableDisplayNameInStats',
'enableLayerSuspension', 'enableLayerSuspension',
'enableLipSync', 'enableLipSync',
'enableLocalVideoFlip', 'disableLocalVideoFlip',
'enableRemb', 'enableRemb',
'enableStatsID', 'enableStatsID',
'enableTalkWhileMuted', 'enableTalkWhileMuted',