Re: [webrtc-pc] data channel ids are set before SCTP init is exchanged (#3071)

Should the SCTP channel be declared open ahead of the DTLS handshake?
As long as we don't have an actual working connection, it seems premature to declare it open.
It's relatively harmless to assign ID as soon as we know the DTLS role, but when the SCTP handshake completes is the first time we know what the max ID value is - any channel with assigned ID above that value (either from external negotiation or from odd/even assignment) then needs to be closed.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/3071#issuecomment-3768711268 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 19 January 2026 14:51:35 UTC