PeerConnection goes to failed due to DataChannel #1416
Unanswered
Butcher-vj
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a desktop sharing and file transfer in a single project with a web-app and an agent.
I have two data channels in my peer connection, primary and file transfer data channel.
In my primary data channel, I am continuously sending the mouse movement from the web to the agent and also my file transfer data channel is sharing file.
My file transfer logic is Stop-and-Wait ARQ. I will send every single packet after getting acknowledgement from the receiver so in this file transfer data channel there won't be any buffer overflow issue, right?
Whenever I use both data channels, my peer connection suddenly goes to failed state without any error message. It directly goes to failed state rather than going to disconnected and then to closed, what is the reason?
Beta Was this translation helpful? Give feedback.
All reactions