Hide local video when toggled on and off.

Fixes #8827
This commit is contained in:
Alan Evans 2019-05-24 14:29:25 -03:00
parent dae0d30367
commit 2ae42cb095

View File

@ -203,6 +203,7 @@ public class WebRtcCallScreen extends FrameLayout implements RecipientModifiedLi
if (this.localRenderLayout.isHidden() == cameraState.isEnabled()) {
this.localRenderLayout.setHidden(!cameraState.isEnabled());
this.localRenderLayout.requestLayout();
this.localRenderer.setVisibility(cameraState.isEnabled() ? VISIBLE : INVISIBLE);
}
}