-
Notifications
You must be signed in to change notification settings - Fork 115
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
Section 6.4: Datachannel Garbage Collection #1288
Comments
@ekr pc.close() is missing a step. It should close the data channels, but it doesn't seem to: |
Calling pc.close() seems like it should invoke the data channel close procedure (as though RTCDataChannel.close() were called): When the close method is called, the user agent must run the following steps: Let channel be the RTCDataChannel object which is about to be closed. If channel's readyState is closing or closed, then abort these steps. Set channel's readyState attribute to closing. If the closing procedure has not started yet, start it. |
Related Issue: #1381 |
I believe this issue can be closed (fixed by #1621) |
From EKR: https://lists.w3.org/Archives/Public/public-webrtc/2017May/0166.html
You seem to be saying that I can't garbage collect the data channel as long as the SCTP connection is up even if the PC is closed? that seems surprising.
The text was updated successfully, but these errors were encountered: