[webrtc-pc] RTCIceCandidate.getLocalCandidates is underspecified wrt timing (#3118)

docfaraday has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCIceCandidate.getLocalCandidates is underspecified wrt timing ==
When is this list updated? Is it:
 
* In the starting (synchronous) steps in addIceCandidate?
* In the chained steps in addIceCandidate?
* In the queued success task at the end of addIceCandidate?

For my money, I think the chained success task is where we should do this; that results in the candidate appearing in the remote SDP at the same time. This also meshes well with the most sensible solution to https://github.com/w3c/webrtc-pc/issues/3117, which is to update the list for getRemoteCandidates() in the success task of setRemoteDescription().

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3118 using your GitHub account


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

Received on Thursday, 11 June 2026 19:26:34 UTC