mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Prevent excessive video toggling in group calls due to server instability.
This commit is contained in:
committed by
Greyson Parrelli
parent
dd28523b05
commit
76665c1f0d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user