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(VideoLayout): show video when the connection is back

paweldomas352e784cad9b
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index 86aafa7750..4a7cc0fbc8 100644
--- a/modules/UI/videolayout/VideoLayout.js
+++ b/modules/UI/videolayout/VideoLayout.js
@@ -653,7 +653,13 @@ var VideoLayout = {
// Show/hide warning on the thumbnail
let remoteVideo = remoteVideos[id];
if (remoteVideo) {
- remoteVideo.updateConnectionStatusIndicator(isActive);
+ // Updating only connection status indicator is not enough, because
+ // when we the connection is restored while the avatar was displayed
+ // (due to 'muted while disconnected' condition) we may want to show
+ // the video stream again and in order to do that the display mode
+ // must be updated.
+ //remoteVideo.updateConnectionStatusIndicator(isActive);
+ remoteVideo.updateView();
}
},