-
Notifications
You must be signed in to change notification settings - Fork 54
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
Improve P2P stability #9
Comments
What about using https://github.com/feross/webtorrent ? |
WebTorrent is an amazing piece of engineering however made on other purpose and have longer time before actual transfer and larger footprint. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently there is a big chance that establishing connection with P2P will fail because of network cnfiguration.
The issue is to research ways of how stability could be improved. Just getting a 100% stable connection on desktop + android phone from another network (wifi / 3g) is a step forward.
You may be interested in disabling forceDIrect which guarantees direct HTTP delivery if there is a timeout on P2P. Try to increase a timeout to 20 000 https://github.com/PixelsCommander/ViralJS/blob/master/src/client-scripts-templates/thin-client-template.js#L13
One more idea of possible improvement is WebRTC layer which is Socket.IO P2P for now. It could be improved, upgraded or changed.
The text was updated successfully, but these errors were encountered: