mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-08 15:04:21 +01:00
Disable video mirroring for screen share preview in calls.
This commit is contained in:
committed by
Alex Hart
parent
85d60dd0da
commit
b732cbe00b
+1
-1
@@ -190,7 +190,7 @@ fun SelfPipContent(
|
||||
Box(modifier = modifier) {
|
||||
VideoRenderer(
|
||||
participant = participant,
|
||||
mirror = participant.cameraDirection == CameraState.Direction.FRONT,
|
||||
mirror = !participant.isScreenSharing && participant.cameraDirection == CameraState.Direction.FRONT,
|
||||
modifier = Modifier.fillMaxSize()
|
||||
)
|
||||
|
||||
|
||||
@@ -543,7 +543,7 @@ private fun LargeLocalVideoRenderer(
|
||||
participant = localParticipant,
|
||||
renderInPip = false,
|
||||
raiseHandAllowed = false,
|
||||
mirrorVideo = localParticipant.cameraDirection == CameraState.Direction.FRONT,
|
||||
mirrorVideo = !localParticipant.isScreenSharing && localParticipant.cameraDirection == CameraState.Direction.FRONT,
|
||||
showAudioIndicator = false,
|
||||
onInfoMoreInfoClick = null,
|
||||
modifier = modifier
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ fun PictureInPictureCallScreen(
|
||||
renderInPip = true,
|
||||
raiseHandAllowed = false,
|
||||
onInfoMoreInfoClick = null,
|
||||
mirrorVideo = isFullScreenLocalParticipant,
|
||||
mirrorVideo = isFullScreenLocalParticipant && !fullScreenParticipant.isScreenSharing,
|
||||
modifier = Modifier.fillMaxSize()
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user