3 ms·
If anyone is looking for an alternative to PeerJS, I highly recommend simple-peer by feross: https://github.com/feross/simple-peer https://github.com/feross/sim
by ScottyFillups 6y ago
If anyone is looking for an alternative to PeerJS, I highly recommend simple-peer by feross: https://github.com/feross/simple-peer https://github.com/feross/simple-peer
I created multi party P2P audio/video chat in ~200 lines of code a while back, here it is: https://github.com/ScottyFillups/p2pchat https://github.com/ScottyFillups/p2pchat (see room.js and all the files under client/)
Demo page is here: https://scottyfillups.io/p2pchat https://scottyfillups.io/p2pchat
- wintorez 6y agoI 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.
- depressedpanda 6y agoHow 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.
- feross 6y agoThanks for mentioning simple-peer! It's been humbling to see all the clever ways that people have used it to build clever and interesting apps.