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(participants): Ignore orphan tracks in ssrc-rewriting mode. Gets rid of an unwanted error that gets printed in the log when there are orphan tracks.
Jaya Allamsetty0a84dbb3029a
diff --git a/react/features/base/participants/subscriber.ts b/react/features/base/participants/subscriber.tsindex 15c7ad7262..da44d1044c 100644--- a/react/features/base/participants/subscriber.ts+++ b/react/features/base/participants/subscriber.ts@@ -78,6 +78,10 @@ function _updateScreenshareParticipants(store: IStore): void {if (track.videoType === VIDEO_TYPE.DESKTOP && !track.jitsiTrack.isMuted()) {const sourceName: string = track.jitsiTrack.getSourceName();+ // Ignore orphan tracks in ssrc-rewriting mode.+ if (!sourceName && getSsrcRewritingFeatureFlag(state)) {+ return acc;+ }if (track.local) {newLocalSceenshareSourceName = sourceName;} else if (getParticipantById(state, getVirtualScreenshareParticipantOwnerId(sourceName))) {