Skip to content

Fix race condition scenario -> lost video track if track arrives before TrackLookupPrefix is updated#223

Merged
sierpinskid merged 3 commits into
mainfrom
feature/uni-186-add-pending-remote-track-buffer
Jul 14, 2026
Merged

Fix race condition scenario -> lost video track if track arrives before TrackLookupPrefix is updated#223
sierpinskid merged 3 commits into
mainfrom
feature/uni-186-add-pending-remote-track-buffer

Conversation

@sierpinskid

Copy link
Copy Markdown
Member

if SFU track is received before TrackLookupPrefix is populated -> the track is lost. We now collect unassigned tracks that couldn't be matched and try matching them whenever updating the lookup prefix, in case track arrived earlier

…ookupPrefix is populated -> the track is lost. We now collect unassigned tracks that couldn't be matched and try matching them whenever updating the lookup prefix, in case track arrived earlier
…pantJoined event and we should populate the participant from TrackAdded event
@sierpinskid sierpinskid merged commit c7ae0ad into main Jul 14, 2026
7 checks passed
@sierpinskid sierpinskid deleted the feature/uni-186-add-pending-remote-track-buffer branch July 14, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants