From 76665c1f0db4a64311f83b3e15dd6c2fff4da834 Mon Sep 17 00:00:00 2001 From: Cody Henthorne Date: Thu, 4 Apr 2024 12:13:16 -0400 Subject: [PATCH] Prevent excessive video toggling in group calls due to server instability. --- .../securesms/components/webrtc/CallParticipantView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/CallParticipantView.java b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/CallParticipantView.java index 55b4e04343..b650e586c6 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/CallParticipantView.java +++ b/app/src/main/java/org/thoughtcrime/securesms/components/webrtc/CallParticipantView.java @@ -164,7 +164,8 @@ public class CallParticipantView extends ConstraintLayout { } else { infoOverlay.setVisibility(View.GONE); - boolean hasContentToRender = (participant.isVideoEnabled() || participant.isScreenSharing()) && participant.isForwardingVideo(); + //TODO: [calling] SFU instability causes the forwarding video flag to alternate quickly, should restore after calling server update + boolean hasContentToRender = (participant.isVideoEnabled() || participant.isScreenSharing()); // && participant.isForwardingVideo(); rendererFrame.setVisibility(hasContentToRender ? View.VISIBLE : View.INVISIBLE); renderer.setVisibility(hasContentToRender ? View.VISIBLE : View.INVISIBLE);