浏览代码

fix(config): Move debugAudioLelvels in config.testing

factor2
Hristo Terezov 9 个月前
父节点
当前提交
c1cbd37d87
共有 4 个文件被更改,包括 6 次插入3 次删除
  1. 1
    1
      conference.js
  2. 4
    1
      config.js
  3. 1
    0
      react/features/base/config/configType.ts
  4. 0
    1
      react/features/base/config/configWhitelist.ts

+ 1
- 1
conference.js 查看文件

@@ -1590,7 +1590,7 @@ export default {
1590 1590
 
1591 1591
             if (config.testing?.testMode) {
1592 1592
                 this.audioLevelsMap[id] = newLvl;
1593
-                if (config.debugAudioLevels) {
1593
+                if (config.testing?.debugAudioLevels) {
1594 1594
                     logger.log(`AudioLevel:${id}/${newLvl}`);
1595 1595
                 }
1596 1596
             }

+ 4
- 1
config.js 查看文件

@@ -103,6 +103,10 @@ var config = {
103 103
 
104 104
         // Dump transcripts to a <transcript> element for debugging.
105 105
         // dumpTranscript: false,
106
+
107
+        // Log the audio levels.
108
+        // debugAudioLevels: true,
109
+
106 110
     },
107 111
 
108 112
     // Disables moderator indicators.
@@ -1633,7 +1637,6 @@ var config = {
1633 1637
     // List of undocumented settings used in jitsi-meet
1634 1638
     /**
1635 1639
      _immediateReloadThreshold
1636
-     debugAudioLevels
1637 1640
      deploymentInfo
1638 1641
      dialOutAuthUrl
1639 1642
      dialOutCodesUrl

+ 1
- 0
react/features/base/config/configType.ts 查看文件

@@ -571,6 +571,7 @@ export interface IConfig {
571 571
     subject?: string;
572 572
     testing?: {
573 573
         assumeBandwidth?: boolean;
574
+        debugAudioLevels?: boolean;
574 575
         dumpTranscript?: boolean;
575 576
         noAutoPlayVideo?: boolean;
576 577
         p2pTestMode?: boolean;

+ 0
- 1
react/features/base/config/configWhitelist.ts 查看文件

@@ -77,7 +77,6 @@ export default [
77 77
     'connectionIndicators',
78 78
     'constraints',
79 79
     'brandingRoomAlias',
80
-    'debugAudioLevels',
81 80
     'deeplinking.disabled',
82 81
     'deeplinking.desktop.enabled',
83 82
     'defaultLocalDisplayName',

正在加载...
取消
保存