瀏覽代碼

Enables local video flip menu by default.

j8
damencho 6 年之前
父節點
當前提交
0dad99c3b7
共有 3 個檔案被更改,包括 6 行新增3 行删除
  1. 4
    1
      config.js
  2. 1
    1
      modules/UI/videolayout/LocalVideo.js
  3. 1
    1
      react/features/base/config/functions.any.js

+ 4
- 1
config.js 查看文件

414
     // use only.
414
     // use only.
415
     // _desktopSharingSourceDevice: 'sample-id-or-label'
415
     // _desktopSharingSourceDevice: 'sample-id-or-label'
416
 
416
 
417
+    // A property to disable the right click context menu for localVideo
418
+    // the menu has option to flip the locally seen video for local presentations
419
+    // disableLocalVideoFlip: false
420
+
417
     // List of undocumented settings used in jitsi-meet
421
     // List of undocumented settings used in jitsi-meet
418
     /**
422
     /**
419
      _immediateReloadThreshold
423
      _immediateReloadThreshold
428
      dialOutCodesUrl
432
      dialOutCodesUrl
429
      disableRemoteControl
433
      disableRemoteControl
430
      displayJids
434
      displayJids
431
-     enableLocalVideoFlip
432
      etherpad_base
435
      etherpad_base
433
      externalConnectUrl
436
      externalConnectUrl
434
      firefox_fake_device
437
      firefox_fake_device

+ 1
- 1
modules/UI/videolayout/LocalVideo.js 查看文件

32
 
32
 
33
     this.localVideoId = null;
33
     this.localVideoId = null;
34
     this.bindHoverHandler();
34
     this.bindHoverHandler();
35
-    if (config.enableLocalVideoFlip) {
35
+    if (!config.disableLocalVideoFlip) {
36
         this._buildContextMenu();
36
         this._buildContextMenu();
37
     }
37
     }
38
     this.isLocal = true;
38
     this.isLocal = true;

+ 1
- 1
react/features/base/config/functions.any.js 查看文件

101
     'enableDisplayNameInStats',
101
     'enableDisplayNameInStats',
102
     'enableLayerSuspension',
102
     'enableLayerSuspension',
103
     'enableLipSync',
103
     'enableLipSync',
104
-    'enableLocalVideoFlip',
104
+    'disableLocalVideoFlip',
105
     'enableRemb',
105
     'enableRemb',
106
     'enableStatsID',
106
     'enableStatsID',
107
     'enableTalkWhileMuted',
107
     'enableTalkWhileMuted',

Loading…
取消
儲存