-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
DataChannel is destroyed,Stop in 10 seconds #1256
Comments
What can I do to ensure that I don't disconnect,I am currently keeping the link from breaking by recreating the DataChannel,That doesn't seem like the best way to do it |
I find that when the receiver sends a "ping" message after receiving the message, the link will keep active. Is this correct? |
It looks like you destroy the data channel. Are you sure you keep a shared pointer to it? Sending a ping probably has the side effect of forcing you to keep a pointer. |
I am using datachannel-native on android and am not sure if shared Pointers are retained, sending ping works fine for me |
I guess you should report it to datachannel-native then, but it really looks like you lose the reference on the datachannel, so it ends up being destroyed, while keeping the reference to send a ping fixes the issue. |
I am trying to send an h264 video stream using the DataChannel, but it always automatically terminates after 10 seconds, here is the log, I can add more if need more information
The text was updated successfully, but these errors were encountered: