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(breakout-rooms) fix no video when coming back to main room

Saúl Ibarra Corretgécc931986f6e3
diff --git a/conference.js b/conference.js
index 9dd284b0ac..c9db7b7e56 100644
--- a/conference.js
+++ b/conference.js
@@ -1334,6 +1334,10 @@ export default {
VideoLayout.initLargeVideo();
VideoLayout.resizeVideoArea();
+ // Destroy old tracks.
+ APP.store.dispatch(destroyLocalTracks());
+ this._localTracksInitialized = false;
+
this.roomName = roomName;
const { tryCreateLocalTracks, errors } = this.createInitialLocalTracks();