Hide local video when toggled on and off.

Fixes #8827
fork-5.53.8
Alan Evans 2019-05-24 14:29:25 -03:00
rodzic dae0d30367
commit 2ae42cb095
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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