mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Stop showing video in group calls when it isn't being forwarded.
This commit is contained in:
committed by
Greyson Parrelli
parent
2f1b05f882
commit
f7b9942f11
@@ -13,6 +13,7 @@ data class CallParticipant constructor(
|
||||
val identityKey: IdentityKey? = null,
|
||||
val videoSink: BroadcastVideoSink = BroadcastVideoSink(),
|
||||
val cameraState: CameraState = CameraState.UNKNOWN,
|
||||
val isForwardingVideo: Boolean = true,
|
||||
val isVideoEnabled: Boolean = false,
|
||||
val isMicrophoneEnabled: Boolean = false,
|
||||
val lastSpoke: Long = 0,
|
||||
@@ -126,6 +127,7 @@ data class CallParticipant constructor(
|
||||
recipient: Recipient,
|
||||
identityKey: IdentityKey?,
|
||||
renderer: BroadcastVideoSink,
|
||||
isForwardingVideo: Boolean,
|
||||
audioEnabled: Boolean,
|
||||
videoEnabled: Boolean,
|
||||
lastSpoke: Long,
|
||||
@@ -139,6 +141,7 @@ data class CallParticipant constructor(
|
||||
recipient = recipient,
|
||||
identityKey = identityKey,
|
||||
videoSink = renderer,
|
||||
isForwardingVideo = isForwardingVideo,
|
||||
isVideoEnabled = videoEnabled,
|
||||
isMicrophoneEnabled = audioEnabled,
|
||||
lastSpoke = lastSpoke,
|
||||
|
||||
Reference in New Issue
Block a user