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(visitors): Fixes large video and pinning.

damencho0e9e884ab452
diff --git a/conference.js b/conference.js
index 7bb9dbd0e9..8057dabaf1 100644
--- a/conference.js
+++ b/conference.js
@@ -365,6 +365,10 @@ class ConferenceConnector {
// we do not clear local tracks on error, so we need to manually clear them
.then(APP.store.dispatch(destroyLocalTracks()))
.then(() => {
+ // Reset VideoLayout. It's destroyed in features/video-layout/middleware.web.js so re-initialize it.
+ VideoLayout.initLargeVideo();
+ VideoLayout.resizeVideoArea();
+
connect(this._conference.roomName).then(con => {
this._conference.startConference(con, []);
});