[webrtc-pc] Description of User Agent/ICE Agent interactions in section 4.3.1 needs to be updated.

taylor-b has just created a new issue for 
https://github.com/w3c/webrtc-pc:

== Description of User Agent/ICE Agent interactions in section 4.3.1 
needs to be updated. ==
This section currently says:

>* If the ICE Agent has found one or more candidate pairs for each 
MediaStreamTrack that forms a valid connection, update the ICE 
connection state to connected.
>* When the ICE Agent finishes checking all candidate pairs, if at 
least one connection has been found for each media description, update
 the ICE connection state to completed, otherwise to failed.

These state transitions are pretty incomplete. There are steps in 
algorithms elsewhere in the spec that are similarly incomplete, such 
as:

>If the ICE Agent is not currently checking candidate pairs, the ICE 
Agent must start checking candidate pairs and update connection's ICE 
connection state to checking.

Can we just add a blanket statement about the interaction between the 
ICE Agent and User Agent in the `RTCIceTransport` section? Something 
like: "The User Agent MUST respond to any state changes in the ICE 
Agent that affect the `RTCIceTransportState`, and enqueue an operation
 to update the state of the affected `RTCIceTransport`." We can go on 
to describe how this enqueued operation would update the 
`RTCPeerConnection`'s `iceConnectionState` and `connectionState`.

Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/801 using your GitHub account

Received on Tuesday, 20 September 2016 00:01:04 UTC