fix(VideoLayout): show video when the connection is back

pull/938/head
paweldomas 9 years ago
parent b8937e0349
commit 352e784cad
  1. 8
      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();
}
},

Loading…
Cancel
Save