Prevent excessive video toggling in group calls due to server instability.

This commit is contained in:
Cody Henthorne
2024-04-04 12:13:16 -04:00
committed by Greyson Parrelli
parent dd28523b05
commit 76665c1f0d

View File

@@ -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);