- From: Robin Raymond <robin@hookflash.com>
- Date: Thu, 3 Jul 2014 18:06:10 -0400
- To: Iñaki Baz Castillo <ibc@aliax.net>, "public-ortc@w3.org" <public-ortc@w3.org>
- Message-ID: <etPan.53b5d3d3.74b0dc51.47b0@macmini.local>
You are correct. Only the controlling side engine could know the difference between connected vs completed. The controlled side would not be able to know that information. The only use case I could see for a developer needing to know the “completed” state vs the “connected” would be to know that the most optimal connection is now available. This might be valuable if they had a more costly interface and wanted to delay sending media over non optimal connections. I think that’s a weak use case, but that’s all I can think of off the top of my head. So I would agree, we probably should drop “completed” in favour of connected (or vice versa). -- Robin Raymond On July 2, 2014 at 5:29:58 PM, Iñaki Baz Castillo (ibc@aliax.net) wrote: 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 Thursday, 3 July 2014 22:06:41 UTC