From cdf95ab8b71a3a0b0d409ad995e22332ac2c0d51 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 9 May 2022 18:02:18 -0400 Subject: [PATCH] Fix video rooms sometimes connecting muted when they shouldn't (#22125) --- src/vector/jitsi/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/jitsi/index.ts b/src/vector/jitsi/index.ts index f9cab16099..61ed8591fb 100644 --- a/src/vector/jitsi/index.ts +++ b/src/vector/jitsi/index.ts @@ -355,8 +355,8 @@ function joinConference(audioDevice?: string, videoDevice?: string) { configOverwrite: { subject: roomName, startAudioOnly, - startWithAudioMuted: !audioDevice, - startWithVideoMuted: !videoDevice, + startWithAudioMuted: audioDevice == null, + startWithVideoMuted: videoDevice == null, } as any, jwt: jwt, };