Re: [webrtc-pc] Can onicecandidate fire before SLD.then(code)? (#2574)

(back from PTO) no, icecandidate cannot fire before SLD, because [we made it so](https://w3c.github.io/webrtc-pc/#dfn-earlycandidates).

This behavior is critical to ensure that signaling order, e.g. `offer candidate candidate candidate`naturally translates into async methods on `callee` in the same (correct) order.

`await p; foo();` is syntactic sugar for `p.then(foo)`.

Getting this fixed in Chrome would be great, since it's led to apps and wpt implementing queuing of ice which is an anti-pattern.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 22 September 2020 12:55:04 UTC