Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working on LAN Perfectly but also working in WAN, but in WAN if there is network latency the connection was interrupting. #1239

Open
2k-Aakaash opened this issue Feb 26, 2024 · 2 comments
Labels
question requests for more information unconfirmed not yet verified as an issue

Comments

@2k-Aakaash
Copy link

Hey 馃憢,
I'm Aakaash, I've been developing my Sprintora Project as P2P File sharing, I've used Peer js a default peer js server and in ReactJS. My project Sprintora is working fine in LAN as localhost or in a LAN connection with no errors and speed file sharing, but when it comes to WAN connection with no network latency it working fine like two users are in my website in a Fast 5G network it doesn't shows up any errors. But when the network has some latency like 5G to 4G or even 4G to 4G with ping of 200ms and another have 500 or 300ms the connection becomes interrupted.

Why it happens, do I need to used TURN server for it?

https://www.npmjs.com/package/node-turn

Anyone here to help me how to use TURN server in my project Sprintora

Here's my working GitHub Repo,
https://github.com/2k-Aakaash/New-Sprintora

And my Final GitHub pages link
https://2k-Aakaash.github.io/New-Sprintora

@irgalamarr irgalamarr added unconfirmed not yet verified as an issue question requests for more information labels Feb 26, 2024
@JPinheiro93
Copy link

I've had a similar issue, and all points out that yes, you need a TURN server for mobile connections to work.

@2k-Aakaash
Copy link
Author

I've had a similar issue, and all points out that yes, you need a TURN server for mobile connections to work.

Thats the Problem i know, but dont know how to use TURN Server in my project. if u found a youtube video kindly share it below 馃椏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question requests for more information unconfirmed not yet verified as an issue
Projects
None yet
Development

No branches or pull requests

3 participants