Stop showing video in group calls when it isn't being forwarded.

This commit is contained in:
Rashad Sookram
2022-04-29 11:00:09 -04:00
committed by Greyson Parrelli
parent 2f1b05f882
commit f7b9942f11
8 changed files with 11 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ public class CallParticipantView extends ConstraintLayout {
} else {
infoOverlay.setVisibility(View.GONE);
boolean hasContentToRender = participant.isVideoEnabled() || participant.isScreenSharing();
boolean hasContentToRender = (participant.isVideoEnabled() || participant.isScreenSharing()) && participant.isForwardingVideo();
rendererFrame.setVisibility(hasContentToRender ? View.VISIBLE : View.GONE);
renderer.setVisibility(hasContentToRender ? View.VISIBLE : View.GONE);