mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix camera state after screen sharing
This commit is contained in:
@@ -1406,6 +1406,9 @@ export class CallingClass {
|
||||
secretParams,
|
||||
});
|
||||
|
||||
// Set the camera disposition as we transition from the lobby to the group call.
|
||||
this.#cameraEnabled = hasLocalVideo;
|
||||
|
||||
groupCall.setOutgoingAudioMuted(!hasLocalAudio);
|
||||
groupCall.setOutgoingVideoMuted(!hasLocalVideo);
|
||||
drop(this.enableCaptureAndSend(groupCall, undefined, logId));
|
||||
@@ -1768,6 +1771,9 @@ export class CallingClass {
|
||||
adminPasskey,
|
||||
});
|
||||
|
||||
// Set the camera disposition as we transition from the lobby to the call link call.
|
||||
this.#cameraEnabled = hasLocalVideo;
|
||||
|
||||
groupCall.setOutgoingAudioMuted(!hasLocalAudio);
|
||||
groupCall.setOutgoingVideoMuted(!hasLocalVideo);
|
||||
drop(this.enableCaptureAndSend(groupCall));
|
||||
|
||||
Reference in New Issue
Block a user