From 9585a1106f0e21895839fba97df138fdf9dc4446 Mon Sep 17 00:00:00 2001 From: Denis Bykhov <bykhov.denis@gmail.com> Date: Tue, 11 Jun 2024 17:01:02 +0500 Subject: [PATCH] Fix office mic selection (#5779) Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com> --- plugins/love-resources/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/love-resources/src/utils.ts b/plugins/love-resources/src/utils.ts index 7c3aeee217..4e9fc02295 100644 --- a/plugins/love-resources/src/utils.ts +++ b/plugins/love-resources/src/utils.ts @@ -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) }