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

pull/22149/head
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
1 changed files with 2 additions and 2 deletions

View File

@ -355,8 +355,8 @@ function joinConference(audioDevice?: string, videoDevice?: string) {
configOverwrite: { configOverwrite: {
subject: roomName, subject: roomName,
startAudioOnly, startAudioOnly,
startWithAudioMuted: !audioDevice, startWithAudioMuted: audioDevice == null,
startWithVideoMuted: !videoDevice, startWithVideoMuted: videoDevice == null,
} as any, } as any,
jwt: jwt, jwt: jwt,
}; };