You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
No more candidates arriving from remote party #142
In WebRTC 1.0 API Section 4.4.3, the "Completed" state contains the following statement:
"Open issue: it is not clear how the non controlling ICE side knows it is in the state."
There is a similar problem in ORTC, which is that it is not clear how to tell the RTCIceTransport that no more candidates will arrive from the remote party.
Just to be clear, we can tell all candidates have been gathered locally by way of the gathering state (and thus can signal it remotely).
However, when we receive a remote signal that no more candidates will arrive from the remote party we can't tell the ORTC RTCIceTransport that no more candidates are to arrive and thus you are free to go into the completed state and clean up and resources.
And that is why I strongly suggest the removal of the "completed" state, as it adds zero value to the "connected" one (in fact, it is the same box in the diagram).
@ibc we will post this to the list too, just capturing as an issue. There is "some" value to the completed state because some implementation can know it's safe to shutdown non used candidates (like turn) when completed.
Activity
robin-raymond commentedon Aug 5, 2014
Just to be clear, we can tell all candidates have been gathered locally by way of the gathering state (and thus can signal it remotely).
However, when we receive a remote signal that no more candidates will arrive from the remote party we can't tell the ORTC RTCIceTransport that no more candidates are to arrive and thus you are free to go into the completed state and clean up and resources.
ibc commentedon Aug 5, 2014
And that is why I strongly suggest the removal of the "completed" state, as it adds zero value to the "connected" one (in fact, it is the same box in the diagram).
robin-raymond commentedon Aug 5, 2014
@ibc we will post this to the list too, just capturing as an issue. There is "some" value to the completed state because some implementation can know it's safe to shutdown non used candidates (like turn) when completed.
robin-raymond commentedon Aug 8, 2014
In SDP for 1.0, it's signalled with a=end-of-candidates so that's how 1.0 works (although I don't know any implementation that actually does it).
Clarification of the ICE restart issue, as noted in: