Earlier quoted context omitted.
Not the poster but I had to go check the website to see this. I believe it is in Spanish. It makes me pretty happy to realize that even though I have had little or no conversations with Spanish speakers for about 30 years I was able to understand the untranslated text. There is so much that clicked once I had the context through the words that I recognized. The rest of it began to make sense. Thanks for that mental e…
that's genuinely nice to hear. Thanks for taking the time to explore it despite the language mismatch, a consistent English version is coming
I built a browser-based P2P file transfer tool using WebRTC
21–25 of 25 posts
Re: I built a browser-based P2P file transfer tool using WebRTC
#22Re: I built a browser-based P2P file transfer tool using WebRTC
#23Does anyone know what the actual success rates for webRTC are for like different NAT combinations / nodes in the wild? I'd be curious, I have read a little into it myself but didn't get the feeling it was very flexible compared to something like Tailscale.
That's why WebRTC supposes that the service provides some TURN relays from the start, and any commercial application comes with its own relays or uses third party infrastructure. That's why when you see any mention of “peer-to-peer” in this context, it actually means “which percent of monthly traffic on average we can offload”.
Notice that those are stats for unique data transmissions between one user and another. When data is not unique (same live video segments to many users), we can have one-to-many sharing, and the percentage of offloaded data can grow much more. Candidate selection for reliable seeding role is non-trivial, though, and it might only make sense when the swarms are big enough to contain enough peers that accept incoming connections.
As other said, quite a lot of those services exist. When they don't provide TURN servers, they have questionable utility (but can be used in the same local network). When the author does host a server for others, you obviously don't want to shove gigabytes of data into it (and the safe bandwidth limit is usually too slow for that anyway). Network connections do not seem to be the main problem, writing the client code properly, and in a way compatible with multiple browsers and unexpected events does.
If you have a non-recurrent need to transfer some data, and no server at hand, Syncthing volunteer-run relays seem to have some capacity available.
Re: I built a browser-based P2P file transfer tool using WebRTC
#24I guess this sort of tool provides a good learning experience for developers or implementing one scratches some other itch, because there are so many one here: https://hn.algolia.com/?dateRange=all&query=peer%20file%20sh... >