Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Enables local video flip menu by default.

damencho0dad99c3b752
diff --git a/config.js b/config.js
index e7348a06e3..13b8a09e1a 100644
--- a/config.js
+++ b/config.js
@@ -414,6 +414,10 @@ var config = {
// use only.
// _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
/**
_immediateReloadThreshold
@@ -428,7 +432,6 @@ var config = {
dialOutCodesUrl
disableRemoteControl
displayJids
- enableLocalVideoFlip
etherpad_base
externalConnectUrl
firefox_fake_device
diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js
index 69ecbea77c..04fcee85d5 100644
--- a/modules/UI/videolayout/LocalVideo.js
+++ b/modules/UI/videolayout/LocalVideo.js
@@ -32,7 +32,7 @@ function LocalVideo(VideoLayout, emitter, streamEndedCallback) {
this.localVideoId = null;
this.bindHoverHandler();
- if (config.enableLocalVideoFlip) {
+ if (!config.disableLocalVideoFlip) {
this._buildContextMenu();
}
this.isLocal = true;
diff --git a/react/features/base/config/functions.any.js b/react/features/base/config/functions.any.js
index cb7e813fea..05963012e0 100644
--- a/react/features/base/config/functions.any.js
+++ b/react/features/base/config/functions.any.js
@@ -101,7 +101,7 @@ const WHITELISTED_KEYS = [
'enableDisplayNameInStats',
'enableLayerSuspension',
'enableLipSync',
- 'enableLocalVideoFlip',
+ 'disableLocalVideoFlip',
'enableRemb',
'enableStatsID',
'enableTalkWhileMuted',