jitsi / lib-jitsi-meet

A low-level JS video API that allows adding a completely custom video experience to web apps.
Apache License 2.0
1.34k stars 1.11k forks source link

fix(ssrc-rewriting): Check for track owner/sourceName before calling TRACK_OWNER_SET. #2515

Closed jallamsetty1 closed 7 months ago

jallamsetty1 commented 7 months ago

When the bridge WS is re-established, JVB sends the full map of audio and video sources. Without the check, the library will end up firing TRACK_REMOVED and TRACK_ADDED for all the exiting tracks. Also, process audio and video source maps only on JVB sessions.