Hide local video when toggled on and off.

Fixes #8827
pull/9/head
Alan Evans 6 years ago
parent dae0d30367
commit 2ae42cb095

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

Loading…
Cancel
Save