Re: [webrtc-pc] Can IceTransportState go checking -> completed? (#2316)

Accepted solution in VI:

RTCIceTransport.state reflects the [[IceTransportState]] slot
A single iceTransport can:
* Be set to “new” on creation
* Be updated by the ICE Agent
* Go to “closed” on close()

The “completed” state says:

* The RTCIceTransport has finished gathering, received an indication that there are no more remote candidates, finished checking all candidate pairs and found a connection. - 5 conditions.
* Conditions 1, 2 and 3 can happen while in “checking”.
* Condition 4 (“finished checking”) and condition 5 (“found a connection”) can be the same event - but only if the last checked candidate is the only successful one.

Proposed answer: YES. This should be mentioned in a “Note” paragraph.


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

Received on Tuesday, 26 November 2019 16:46:12 UTC