Re:PeerJS – Simple peer-to-peer with WebRTC
by wintorez on Wednesday January 06, 2021 @12:59PM
(#25660309)
I love his work. His "webtorrent" is also great. I always wondered if anyone is using it on their website to lower the cost of distributing large files.
Re:PeerJS – Simple peer-to-peer with WebRTC
by depressedpanda on Wednesday January 06, 2021 @02:21PM
(#25661149)
How would you say simple-peer compares to PeerJs? Pros/cons?
I've had issues with PeerJs in that connections are randomly dropped after a while, and couldn't figure out why.
I created multi party P2P audio/video chat in ~200 lines of code a while back, here it is: https://github.com/ScottyFillups/p2pchat (see room.js and all the files under client/)
Demo page is here: https://scottyfillups.io/p2pchat