Re: [webrtc-pc] Describe consistency model between *{local|remote}*Description attributes

These attributes are defined in terms of internal slots that are updated in setLocalDescription() or setRemoteDescription() along with signaling states and other things.

The only thing I'm wondering about is if there is a race between SLD/SRD and the ICE agent generating candidates, since this is supposed to queue a task that amongst other things:

> 5. If connection.[[CurrentLocalDescription]] is not null, and represents the ICE generation for which candidate was gathered, add candidate to the connection.[[CurrentLocalDescription]].sdp.

This is vague and and the modification of the description could be overwritten by SLD/SRD setting it to the offer/answer SDP. Is that intended?

@alvestrand Should we create a new bug for the above and close this, or what did you have in mind?

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

Received on Wednesday, 22 August 2018 20:46:45 UTC