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): Remove config.debug.

Hristo Terezovef56f1d23d4a
diff --git a/conference.js b/conference.js
index a876d1d035..5b942220ee 100644
--- a/conference.js
+++ b/conference.js
@@ -1012,7 +1012,7 @@ export default {
},
/**
- * Will be filled with values only when config.debug is enabled.
+ * Will be filled with values only when config.testing.testMode is true.
* Its used by torture to check audio levels.
*/
audioLevelsMap: {},
@@ -1588,7 +1588,7 @@ export default {
newLvl = 0;
}
- if (config.debug) {
+ if (config.testing?.testMode) {
this.audioLevelsMap[id] = newLvl;
if (config.debugAudioLevels) {
logger.log(`AudioLevel:${id}/${newLvl}`);
diff --git a/config.js b/config.js
index a7b3e16c3b..df13d27bb2 100644
--- a/config.js
+++ b/config.js
@@ -1633,7 +1633,6 @@ var config = {
// List of undocumented settings used in jitsi-meet
/**
_immediateReloadThreshold
- debug
debugAudioLevels
deploymentInfo
dialOutAuthUrl
diff --git a/react/features/base/config/configWhitelist.ts b/react/features/base/config/configWhitelist.ts
index b8ddbb13c5..c62ff35cdb 100644
--- a/react/features/base/config/configWhitelist.ts
+++ b/react/features/base/config/configWhitelist.ts
@@ -77,7 +77,6 @@ export default [
'connectionIndicators',
'constraints',
'brandingRoomAlias',
- 'debug',
'debugAudioLevels',
'deeplinking.disabled',
'deeplinking.desktop.enabled',
diff --git a/tests/helpers/Participant.ts b/tests/helpers/Participant.ts
index a77714d068..7a21133a3f 100644
--- a/tests/helpers/Participant.ts
+++ b/tests/helpers/Participant.ts
@@ -41,7 +41,6 @@ export class Participant {
analytics: {
disabled: true
},
- debug: true,
requireDisplayName: false,
testing: {
testMode: true