Fix video rooms sometimes connecting muted when they shouldn't (#22125)

This commit is contained in:
Robin 2022-05-09 18:02:18 -04:00 committed by GitHub
parent 1783645108
commit cdf95ab8b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
};