Fix office mic selection (#5779)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-06-11 17:01:02 +05:00 committed by GitHub
parent c53c434aeb
commit 9585a1106f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -425,7 +425,7 @@ export async function setMic (value: boolean): Promise<void> {
opt.deviceId = available.deviceId
}
}
await lk.localParticipant.setMicrophoneEnabled(value)
await lk.localParticipant.setMicrophoneEnabled(value, opt)
} catch (err) {
console.error(err)
}