cloudflare / cloudflare/meet

Race condition when user joins the room before tracks are replaced.

Open
#87 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.3k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

If user joins the room before the below operation is complete, existing peers in the room will get "Error: Missing Track Info". I am not sure how to delay the user or to signal to the room to try and reacquire the tracks.

https://github.com/cloudflare/orange/blob/49cb2ccba6e76b4b1015de9546d3eb46779a7885/app/utils/rxjs/RxjsPeer.client.ts#L344

Contributor guide

Open the contributing guide

Research direction

Start in app/utils/rxjs/RxjsPeer.client.ts around line 344, where the issue links to the track-replacement flow. Reproduce a user joining while that operation is still running and trace how existing peers receive track information. Done means the race no longer produces "Error: Missing Track Info" for peers already in the room.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.