Replies: 1 comment 3 replies
-
A data channel can be closed for two reasons: either the remote peer closed the data channel, or the peer connection it self was closed or lost connectivity. You are probably in the second case, in that case you should just re-open a new peer connection. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I often see a situation where my data channels close. It's unclear why this happens, but I want to reopen them to continue the connection.
What is the canonical way to do this? Should I create a new channel? If so, should it be distinct in id and/or label from the closed one?
Or is there a way to reopen a closed channel?
Beta Was this translation helpful? Give feedback.
All reactions