Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(LargeVideoManager): hide video when avatar is displayed

paweldomasb8937e0349ea
diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js
index 69166394ee..53f2777ffd 100644
--- a/modules/UI/videolayout/LargeVideoManager.js
+++ b/modules/UI/videolayout/LargeVideoManager.js
@@ -162,7 +162,8 @@ export default class LargeVideoManager {
// but we still should show watermark
if (isVideoMuted) {
this.showWatermark(true);
- promise = Promise.resolve();
+ // If the avatar is to be displayed the video should be hidden
+ promise = container.hide();
} else {
promise = container.show();
}