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): Allow only enableMediaOnPromote from visitors config to be overriden.

Hristo Terezov0ae8051fb437
diff --git a/config.js b/config.js
index 3286c56505..a7b3e16c3b 100644
--- a/config.js
+++ b/config.js
@@ -1620,6 +1620,16 @@ var config = {
// For external entities (e. g. email), the localStorage key holding the token value for directory authentication
// peopleSearchTokenLocation: "mytoken",
+
+ // Options related to visitors.
+ // visitors: {
+ // // Starts audio/video when the participant is promoted from visitor.
+ // enableMediaOnPromote: {
+ // audio: true,
+ // video: true
+ // },
+ // },
+
// List of undocumented settings used in jitsi-meet
/**
_immediateReloadThreshold
diff --git a/react/features/base/config/configWhitelist.ts b/react/features/base/config/configWhitelist.ts
index d2e191e540..b8ddbb13c5 100644
--- a/react/features/base/config/configWhitelist.ts
+++ b/react/features/base/config/configWhitelist.ts
@@ -233,7 +233,7 @@ export default [
'useHostPageLocalStorage',
'useTurnUdp',
'videoQuality',
- 'visitors',
+ 'visitors.enableMediaOnPromote',
'watchRTCConfigParams.console',
'watchRTCConfigParams.allowBrowserLogCollection',
'watchRTCConfigParams.collectionInterval',