fix(VideoLayout): show video when the connection is back
This commit is contained in:
parent
b8937e0349
commit
352e784cad
|
@ -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…
Reference in New Issue