Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Screenshot 2025-05-23 184704
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?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.