Skip to content

Commit cdf95ab

Browse files
authored
Fix video rooms sometimes connecting muted when they shouldn't (#22125)
1 parent 1783645 commit cdf95ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vector/jitsi/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ function joinConference(audioDevice?: string, videoDevice?: string) {
355355
configOverwrite: {
356356
subject: roomName,
357357
startAudioOnly,
358-
startWithAudioMuted: !audioDevice,
359-
startWithVideoMuted: !videoDevice,
358+
startWithAudioMuted: audioDevice == null,
359+
startWithVideoMuted: videoDevice == null,
360360
} as any,
361361
jwt: jwt,
362362
};

0 commit comments

Comments
 (0)