Skip to content

Commit

Permalink
Work around a Jitsi log handling crash (#22353)
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown authored May 25, 2022
1 parent 745140e commit 9c92f55
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/vector/jitsi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 9c92f55

Please sign in to comment.