mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-08 20:09:19 +00:00
@@ -245,7 +245,6 @@ 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,
|
|
||||||
);
|
);
|
||||||
audioMuteUpdating.current = false;
|
audioMuteUpdating.current = false;
|
||||||
break;
|
break;
|
||||||
@@ -253,7 +252,6 @@ export function useLivekit(
|
|||||||
videoMuteUpdating.current = true;
|
videoMuteUpdating.current = true;
|
||||||
trackPublication = await participant.setCameraEnabled(
|
trackPublication = await participant.setCameraEnabled(
|
||||||
buttonEnabled.current.video,
|
buttonEnabled.current.video,
|
||||||
room.options.videoCaptureDefaults,
|
|
||||||
);
|
);
|
||||||
videoMuteUpdating.current = false;
|
videoMuteUpdating.current = false;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user