Skip to content

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

fix(config): Move debugAudioLelvels in config.testing

Hristo Terezovc1cbd37d875c
diff --git a/conference.js b/conference.js
index 5b942220ee..fd92ebc464 100644
--- a/conference.js
+++ b/conference.js
@@ -1590,7 +1590,7 @@ export default {
if (config.testing?.testMode) {
this.audioLevelsMap[id] = newLvl;
- if (config.debugAudioLevels) {
+ if (config.testing?.debugAudioLevels) {
logger.log(`AudioLevel:${id}/${newLvl}`);
}
}
diff --git a/config.js b/config.js
index df13d27bb2..67af97d509 100644
--- a/config.js
+++ b/config.js
@@ -103,6 +103,10 @@ var config = {
// Dump transcripts to a <transcript> element for debugging.
// dumpTranscript: false,
+
+ // Log the audio levels.
+ // debugAudioLevels: true,
+
},
// Disables moderator indicators.
@@ -1633,7 +1637,6 @@ var config = {
// List of undocumented settings used in jitsi-meet
/**
_immediateReloadThreshold
- debugAudioLevels
deploymentInfo
dialOutAuthUrl
dialOutCodesUrl
diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.ts
index 39cea0a0fc..8468d94de1 100644
--- a/react/features/base/config/configType.ts
+++ b/react/features/base/config/configType.ts
@@ -571,6 +571,7 @@ export interface IConfig {
subject?: string;
testing?: {
assumeBandwidth?: boolean;
+ debugAudioLevels?: boolean;
dumpTranscript?: boolean;
noAutoPlayVideo?: boolean;
p2pTestMode?: boolean;
diff --git a/react/features/base/config/configWhitelist.ts b/react/features/base/config/configWhitelist.ts
index c62ff35cdb..17fa33db10 100644
--- a/react/features/base/config/configWhitelist.ts
+++ b/react/features/base/config/configWhitelist.ts
@@ -77,7 +77,6 @@ export default [
'connectionIndicators',
'constraints',
'brandingRoomAlias',
- 'debugAudioLevels',
'deeplinking.disabled',
'deeplinking.desktop.enabled',
'defaultLocalDisplayName',