Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

RTCSctpTransportState: state transitions? #635

@aboba

Description

@aboba

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 if 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions