Re: RTCIceTransportState

2014-07-02 23:26 GMT+02:00 Iñaki Baz Castillo <ibc@aliax.net>:
> ----------------------------------
> 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).


In fact, as you see in the diagram after section "3.10 enum
RTCIceTransportState", there is no difference between connected and
completed states (both may merge into a single one and the other
states may remain the same).



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

Received on Wednesday, 2 July 2014 21:29:46 UTC