From 9c92f55afdce0c5c26c9fe0c30339cdde61bb26d Mon Sep 17 00:00:00 2001 From: Robin Date: Wed, 25 May 2022 17:50:27 -0400 Subject: [PATCH] Work around a Jitsi log handling crash (#22353) --- src/vector/jitsi/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/vector/jitsi/index.ts b/src/vector/jitsi/index.ts index fdf757b953..c8f4dde126 100644 --- a/src/vector/jitsi/index.ts +++ b/src/vector/jitsi/index.ts @@ -366,8 +366,12 @@ function joinConference(audioDevice?: string, videoDevice?: string) { startAudioOnly, startWithAudioMuted: audioDevice == null, startWithVideoMuted: videoDevice == null, - // Request all log levels for inclusion in rageshakes - apiLogLevels: ["warn", "log", "error", "info", "debug"], + // Request some log levels for inclusion in rageshakes + // Ideally we would capture all possible log levels, but this can + // cause Jitsi Meet to try to post various circular data structures + // back over the iframe API, and therefore end up crashing + // https://github.com/jitsi/jitsi-meet/issues/11585 + apiLogLevels: ["warn", "error"], } as any, jwt: jwt, };