RTCIceTransportState

----------------------------------
connected

The ICE Agent has found a usable connection for all components but is
still checking other candidate pairs to see if there is a better
connection. It may also still be gathering.


completed

The ICE Agent has finished gathering and checking and found a
connection for all components. Open issue: it is not clear how the non
controlling ICE side knows it is in the state.
------------------------------------


IMHO there is little value in having both (and indeed, for the
controlled side there is no way to determine whether it is in
connected or completed state. Even more, new gathering may occur N
seconds after the controlling agent decides it is in completed state
(imagine a new network interface becomes available somehow).

IMHO the completed state has no value having the connected one.

NOTE: I understand that the connected state happens once the ICE agent
has sent the definitive STUN request with USE-CANDIDATE, or after it
has selected (based on candidate-pair priorities) the selected pair
(in case aggressive ICE was used).




-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Wednesday, 2 July 2014 21:27:47 UTC