fix(breakout-rooms) fix no video when coming back to main room
Re-create local tracks so we have a clean state.
This commit is contained in:
parent
ce35a88299
commit
cc931986f6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue