Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(conference.js): add tracks to the conference
Pawel Domasbba1917820f5
diff --git a/conference.js b/conference.jsindex a4cdb54601..a1aa93680d 100644--- a/conference.js+++ b/conference.js@@ -44,7 +44,8 @@ import {lockStateChanged,onStartMutedPolicyChanged,p2pStatusChanged,- sendLocalParticipant+ sendLocalParticipant,+ _conferenceWillJoin} from './react/features/base/conference';import { getReplaceParticipant } from './react/features/base/config/functions';import {@@ -1315,14 +1316,14 @@ export default {APP.conference.roomName,this._getConferenceOptions());- APP.store.dispatch(conferenceWillJoin(room));-// Filter out the tracks that are muted (except on mobile Safari).const tracks = isIosMobileBrowser() ? localTracks : localTracks.filter(track => !track.isMuted());this._setLocalAudioVideoStreams(tracks);this._room = room; // FIXME do not use this+ APP.store.dispatch(_conferenceWillJoin(room));+sendLocalParticipant(APP.store, room);this._setupListeners();diff --git a/react/features/base/conference/actions.js b/react/features/base/conference/actions.jsindex b4226f1afd..567359fc79 100644--- a/react/features/base/conference/actions.js+++ b/react/features/base/conference/actions.js@@ -357,7 +357,7 @@ export function conferenceUniqueIdSet(conference: Object) {* the local participant will (try to) join.* @returns {Function}*/-function _conferenceWillJoin(conference: Object) {+export function _conferenceWillJoin(conference: Object) {return (dispatch: Dispatch<any>, getState: Function) => {const localTracks= getLocalTracks(getState()['features/base/tracks'])