mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-01 21:25:18 +00:00
dont pass audio capture defaults when muting unmuting
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -245,7 +245,9 @@ export function useLivekit(
|
|||||||
audioMuteUpdating.current = true;
|
audioMuteUpdating.current = true;
|
||||||
trackPublication = await participant.setMicrophoneEnabled(
|
trackPublication = await participant.setMicrophoneEnabled(
|
||||||
buttonEnabled.current.audio,
|
buttonEnabled.current.audio,
|
||||||
room.options.audioCaptureDefaults,
|
// platform === "ios"
|
||||||
|
// ? undefined
|
||||||
|
// : room.options.audioCaptureDefaults,
|
||||||
);
|
);
|
||||||
audioMuteUpdating.current = false;
|
audioMuteUpdating.current = false;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user