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
fix: Disables p2p for visitors as it doesn't make sense.
damencho7cf61eb77688
diff --git a/react/features/base/conference/functions.ts b/react/features/base/conference/functions.tsindex 021be92c63..90a70d36cd 100644--- a/react/features/base/conference/functions.ts+++ b/react/features/base/conference/functions.ts@@ -310,6 +310,7 @@ export function getVisitorOptions(stateful: IStateful, params: Array<string>) {focusUserJid: focusJid,disableLocalStats: false,bosh: config.oldConfig.bosh && appendURLParam(config.oldConfig.bosh, 'customusername', username),+ p2p: config.oldConfig.p2p,websocket: config.oldConfig.websocket&& appendURLParam(config.oldConfig.websocket, 'customusername', username),oldConfig: undefined // clears it up@@ -326,6 +327,7 @@ export function getVisitorOptions(stateful: IStateful, params: Array<string>) {},focusUserJid: config.focusUserJid,bosh: config.bosh,+ p2p: config.p2p,websocket: config.websocket};@@ -341,6 +343,10 @@ export function getVisitorOptions(stateful: IStateful, params: Array<string>) {disableFocus: true, // This flag disables sending the initial conference requestdisableLocalStats: true,bosh: config.bosh && appendURLParam(config.bosh, 'vnode', vnode),+ p2p: {+ ...config.p2p,+ enabled: false+ },websocket: config.websocket && appendURLParam(config.websocket, 'vnode', vnode)};}diff --git a/react/features/base/config/reducer.ts b/react/features/base/config/reducer.tsindex 60af817c03..0a84f33d5c 100644--- a/react/features/base/config/reducer.ts+++ b/react/features/base/config/reducer.ts@@ -84,6 +84,7 @@ export interface IConfigState extends IConfig {domain: string;muc: string;};+ p2p?: object;websocket?: string;};}