Re: [webrtc-pc] The threading model of webrtc-pc: When are effects of in-parallel stuff surfaced? (#2502)

> Since both 1 and 2 associate, it seems pretty darn obvious that 3 should as well.

Ack! I was mistakingly thinking that association didn't happen in that case, my bad.
Then we are in agreement. If association happens both before and after, then it must also associate if it happens during as well, anything else would be a foot-gun. Concluding that association must happen regardless, I will no longer accuse your hypothetical application of being racy - it should work.

> we can't break the synchronous nature of addTrack.

I still suspect that we _can_, but it gets complicated, and that implementation is theoretical at this point. If we can avoid it, I'm all for it!

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2502#issuecomment-606847175 using your GitHub account

Received on Tuesday, 31 March 2020 20:07:30 UTC