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(rn,breakout-rooms) create desired local tracks when joining rooms

Saúl Ibarra Corretgé7f0cfed981a9
diff --git a/react/features/breakout-rooms/actions.js b/react/features/breakout-rooms/actions.js
index 107defb0e4..b6e4e756fd 100644
--- a/react/features/breakout-rooms/actions.js
+++ b/react/features/breakout-rooms/actions.js
@@ -13,6 +13,7 @@ import {
} from '../base/conference';
import { setAudioMuted, setVideoMuted } from '../base/media';
import { getRemoteParticipants } from '../base/participants';
+import { createDesiredLocalTracks } from '../base/tracks/actions';
import {
NOTIFICATION_TIMEOUT_TYPE,
clearNotifications,
@@ -216,6 +217,7 @@ export function moveToRoom(roomId?: string) {
dispatch(createConference(_roomId));
dispatch(setAudioMuted(audio.muted));
dispatch(setVideoMuted(video.muted));
+ dispatch(createDesiredLocalTracks());
} else {
try {
await APP.conference.leaveRoom(false /* doDisconnect */);