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

Data channels do not fully close when close initiated from Chrome #187

Closed
nerd2 opened this issue Mar 22, 2021 · 0 comments · Fixed by #238
Closed

Data channels do not fully close when close initiated from Chrome #187

nerd2 opened this issue Mar 22, 2021 · 0 comments · Fixed by #238

Comments

@nerd2
Copy link

nerd2 commented Mar 22, 2021

In my application where Pion is offering and Chrome is answering:

  • Pion application starts a datachannel
  • The Javascript in Chrome explicitly closes the datachannel
  • Pion receives the datachannel onclose event
  • But Chrome's data channel stays in the "closing" state and is never "closed".

Perhaps pion is not doing https://tools.ietf.org/html/draft-ietf-rtcweb-data-channel-13#section-6.7 correctly when the close is initiated remotely?

Using pion/sctp v1.7.11

@Sean-Der suggested I reference @enobufs as you might know if this is expected behaviour

enobufs added a commit that referenced this issue Oct 2, 2022
Added state to Stream to reset outbound only when the state is open
Relates to #187
enobufs added a commit that referenced this issue Oct 9, 2022
enobufs added a commit that referenced this issue Oct 10, 2022
jerry-tao pushed a commit to jerry-tao/sctp that referenced this issue Oct 13, 2022
jerry-tao pushed a commit to jerry-tao/sctp that referenced this issue Oct 13, 2022
jerry-tao pushed a commit to jerry-tao/sctp that referenced this issue Oct 13, 2022
jerry-tao pushed a commit to jerry-tao/sctp that referenced this issue Oct 13, 2022
jerry-tao pushed a commit to jerry-tao/sctp that referenced this issue Oct 13, 2022
Added state to Stream to reset outbound only when the state is open
Relates to pion#187
jerry-tao pushed a commit to jerry-tao/sctp that referenced this issue Oct 13, 2022
jerry-tao pushed a commit to jerry-tao/sctp that referenced this issue Oct 13, 2022
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

Successfully merging a pull request may close this issue.

1 participant