mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 22:05:39 +00:00
* Prevent race of new track and new receiver. Two different concepts 1. Creation of a new media track 2. Creation of a new receiver inside the media track collided and caused track published to not be fired. Unify to mark creation of new receiver as the source of truth. With simulcast codecs, creation of a new receiver should be treated as a new published track. * Fire onTrackPublished only on new track