Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(Lobby): Adding autoknock feature as a config (#10366)
Payetus6520cc2496a4
diff --git a/config.js b/config.jsindex 3dcc67db5f..f086790821 100644--- a/config.js+++ b/config.js@@ -430,6 +430,9 @@ var config = {// Hides lobby button// hideLobbyButton: false,+ // If Lobby is enabled starts knocking automatically.+ // autoKnockLobby: false+// Require users to always specify a display name.// requireDisplayName: true,diff --git a/react/features/base/config/configWhitelist.js b/react/features/base/config/configWhitelist.jsindex 2f3aa44d31..88712a5327 100644--- a/react/features/base/config/configWhitelist.js+++ b/react/features/base/config/configWhitelist.js@@ -18,6 +18,7 @@ export default ['analytics.rtcstatsEnabled','audioLevelsInterval','audioQuality',+ 'autoKnockLobby','apiLogLevels','avgRtpStatsN','backgroundAlpha',diff --git a/react/features/prejoin/functions.js b/react/features/prejoin/functions.jsindex febffeafee..c165a79d56 100644--- a/react/features/prejoin/functions.js+++ b/react/features/prejoin/functions.js@@ -180,8 +180,8 @@ export function isPrejoinPageVisible(state: Object): boolean {* @returns {boolean}*/export function shouldAutoKnock(state: Object): boolean {- const { iAmRecorder, iAmSipGateway } = state['features/base/config'];+ const { iAmRecorder, iAmSipGateway, autoKnockLobby } = state['features/base/config'];- return (isPrejoinPageEnabled(state) || (iAmRecorder && iAmSipGateway))+ return (isPrejoinPageEnabled(state) || autoKnockLobby || (iAmRecorder && iAmSipGateway))&& !state['features/lobby'].knocking;}