Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unspecified whether the data channel error event fires from SCTP ABORT #2984

Open
jan-ivar opened this issue Aug 5, 2024 · 0 comments
Open

Comments

@jan-ivar
Copy link
Member

jan-ivar commented Aug 5, 2024

The spec mentions only two sources of "data-channel-failure":

  1. § 6.2.6 Error on creating data channels
  2. SLD/sRD(answer): "If no available ID could be generated, set channel.[[ReadyState]] to "closed", and add channnel to errorList."

The first one fires error then close, the second only error. A mistake?

But we probably also need a new section on what to do with datachannel runtime errors like receiving SCTP ABORT.

According to https://wpt.fyi/results/webrtc/RTCDataChannel-close.html both error and close should fire.

We should probably align with implementations here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant