|
@@ -13,6 +13,7 @@ import {
|
13
|
13
|
} from '../base/conference';
|
14
|
14
|
import { setAudioMuted, setVideoMuted } from '../base/media';
|
15
|
15
|
import { getRemoteParticipants } from '../base/participants';
|
|
16
|
+import { createDesiredLocalTracks } from '../base/tracks/actions';
|
16
|
17
|
import {
|
17
|
18
|
NOTIFICATION_TIMEOUT_TYPE,
|
18
|
19
|
clearNotifications,
|
|
@@ -216,6 +217,7 @@ export function moveToRoom(roomId?: string) {
|
216
|
217
|
dispatch(createConference(_roomId));
|
217
|
218
|
dispatch(setAudioMuted(audio.muted));
|
218
|
219
|
dispatch(setVideoMuted(video.muted));
|
|
220
|
+ dispatch(createDesiredLocalTracks());
|
219
|
221
|
} else {
|
220
|
222
|
try {
|
221
|
223
|
await APP.conference.leaveRoom(false /* doDisconnect */);
|