[ortc] RTCSctpTransportState: state transitions?

aboba has just created a new issue for https://github.com/w3c/ortc:

== RTCSctpTransportState: state transitions? ==
My understanding is that when an `RTCSctpTransport` object is 
constructed, the value of `RTCSctpTransportState`  is `new`.  Now that
 `start` method causes an SCTP INIT request to be sent (rather than 
this happening upon construction), calling `start` would cause the 
value of `RTCSctpTransportState` to transition to `connecting`, 
correct? 

What is an incoming SCTP INIT request is received prior to the `start`
 method being called?  Does the `RTCSctpTransport` object respond or 
not? Prior to moving sending of the SCTP INIT to the start method, the
 `RTCSctpTransport` object  would respond upon construction, correct?
  But now if the `RTCSctpTransport` object responds prior to calling 
the `start` method, this would imply that `RTCSctpTransportState` 
could reach the `connected` state prior to calling the `start` method,
 which seems odd.  

So I'm inclined to believe that the `RTCSctpTransport` object cannot 
respond to an incoming SCTP INIT prior to calling the `start` method, 
and therefore that the the `connected` state cannot be reached prior 
to calling the `start` method. 

Does this make sense?

Please view or discuss this issue at 
https://github.com/w3c/ortc/issues/635 using your GitHub account

Received on Wednesday, 11 January 2017 22:12:19 UTC