Very cool stuff. I wonder if it would be possible to host an entire webapp with sockets/rtc. I don't see why not, but it you'd have to re-invent decades worth of architecture built around http.
You should take a look at WebRTC's DataChannel.
We're using it at Streamroot to do P2P video streaming in the browser.
You're talking about filesharing in P2P, again, totally something you can do with WebRTC. You should take a look at PeerJS if you want to experiment in no time. You also talked about BitTorrent in the browser: you should definitely take a look at WebTorrent
It appears the content does travel to and through the server, for both initial hashing and later relaying to other clients.
Couldn't this be done without ever sending any content to the server, via in-browser hashing and client-to-client connections? (The server could still be used to help clients discover each other.)
Comments (165) 50 threads
Earlier commentsYou're talking about filesharing in P2P, again, totally something you can do with WebRTC. You should take a look at PeerJS if you want to experiment in no time.
You also talked about BitTorrent in the browser: you should definitely take a look at WebTorrent
I need to re-watch that movie.
Couldn't this be done without ever sending any content to the server, via in-browser hashing and client-to-client connections? (The server could still be used to help clients discover each other.)
All comments shown.
Couldn't load more comments. Check your connection and try again.