diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index 9063441f99..2c46a3f59e 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -426,6 +426,10 @@ const VideoLayout = { APP.store.dispatch(setMaxReceiverVideoQuality(qualityLevel)); } + localVideoThumbnail && localVideoThumbnail.rerender(); + Object.values(remoteVideos).forEach( + remoteVideoThumbnail => remoteVideoThumbnail.rerender()); + if (onComplete && typeof onComplete === 'function') { onComplete(); } @@ -947,11 +951,6 @@ const VideoLayout = { refreshLayout() { localVideoThumbnail && localVideoThumbnail.updateDOMLocation(); VideoLayout.resizeVideoArea(); - - localVideoThumbnail && localVideoThumbnail.rerender(); - Object.values(remoteVideos).forEach( - remoteVideo => remoteVideo.rerender() - ); }, /**