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

This commit is contained in:
paweldomas 2016-09-24 10:36:24 -05:00
parent b8937e0349
commit 352e784cad
1 changed files with 7 additions and 1 deletions

View File

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