simple-peer VS server

Compare simple-peer vs server and see what are their differences.

simple-peer

📡 Simple WebRTC video, voice, and data channels (by feross)

server

screen sharing for developers https://screego.net/ (by screego)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
simple-peer server
8 2
5,860 3,905
- 3.0%
5.4 5.8
5 days ago 12 days ago
JavaScript Go
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

simple-peer

Posts with mentions or reviews of simple-peer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-30.
  • I wrote a peer to peer file sharing site
    1 project | reddit.com/r/Piracy | 16 Oct 2021
    It is using the simple-peer library to manage the peer connections. You can open the share url in a separate tab if you want to try it locally. If you know how to use the developer tools you can see it is not uploading to a server. The only thing my server is doing is creating a websocket connection initiating the peer connection then it closes the socket. Everything else is done on the browser without the need of a server.
  • Building a customer support solution focused on video calls
    3 projects | reddit.com/r/selfhosted | 30 Apr 2021
    Custom peer-to-peer video call implementation can also be done using vanilla webrtc or https://github.com/feross/simple-peer but using an SFU such as Janus can help
  • Show HN: Jam, an Open Source Clubhouse
    7 projects | news.ycombinator.com | 14 Feb 2021
    Not an expert here but have some experience with it:

    Assuming that each peer is connected to every other peer via a mesh network [see this image for reference: https://github.com/feross/simple-peer/blob/master/img/full-m...], each outgoing stream (esp. audio / video) is likely going to be duplicated, per recipient.

    Scalability over a mesh network is fully dependent on CPU and network performance of all of the connected devices, and I'd doubt it could handle 12 participants if there is video involved, unless all participants are running relatively high-end and modern devices, with optimal network conditions.

    You'll need a SFU or an MFU running on the server to handle larger rooms, while enabling all connected devices to only have to send one output stream per media type, regardless of how many connected participants there are.

  • Any example of streaming non "user media" media?
    2 projects | reddit.com/r/WebRTC | 11 Feb 2021
    It isn't really documented anywhere, but here is a thread confirming the behavior
  • A local file storage for the web and interopearability layer for web-based apps (submission)
    6 projects | dev.to | 10 Jan 2021
    For the tmp-webrtc extension, at first I wanted to create a backend service to implement peer discovery. That would also give me an opportunity to try out DigitalOcean’s paid services (like running backend apps and using a managed database). Unfortunately due to time constraints I didn’t get around to doing that and used the P2PT library for peer discovery instead. P2PT uses public WebTorrent trackers as a WebRTC signaling server, and so no backend services have to be deployed. So it ended up being another static app. This is my first time using P2PT and WebRTC for file transfers though, so I still think I learned a lot.
  • tmp.spacet.me devlog part 4
    2 projects | dev.to | 8 Jan 2021
    Sending and receiving files via WebRTC. I used P2PT for peer discovery and simple-peer-files for file transfer. They are based on the simple-peer library. I’ve never used them, and a hackathon is a great time to try out things I’ve never tried before.
  • Is there a Video chat script with WebRTC that I can add to a web page
    3 projects | reddit.com/r/WebRTC | 7 Jan 2021
    simple-peer.git
  • Simple-peer – Simple WebRTC video, voice, and data channels
    1 project | news.ycombinator.com | 6 Jan 2021

server

Posts with mentions or reviews of server. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-14.
  • Show HN: Jam, an Open Source Clubhouse
    7 projects | news.ycombinator.com | 14 Feb 2021
    Amazing work! The WebRTC community needs something like this so bad. Not only will this push a bunch of users toward self-hosted/free software but will also inspire others to build cool things :)

    If/when you hit scaling challenges I would love to help! I maintain github.com/pion/turn and github.com/pion/webrtc. You can see that with how screego[0] does it.

    Happy to help however I can (even if not using Pion!) One of the reasons I built it was so that I could put my TURN and Signaling server in the same process. It makes it way easier to tie your auth together for signaling+TURN. Then if you do go down the SFU route lots of interesting things you could do.

    [0] https://github.com/screego/server/blob/e845b3d29c4b5794ed10f...

  • Looking for a selfhosted Teamviewer Alternative
    1 project | reddit.com/r/selfhosted | 23 Dec 2020
    Check out ScreeGo : https://github.com/screego/server

What are some alternatives?

When comparing simple-peer and server you can also consider the following projects:

janus-gateway - Janus WebRTC Server

webrtc-video-conference - WebRTC video conference app

aiortc - WebRTC and ORTC implementation for Python using asyncio

mumble-web - An HTML5 Mumble client

chaskiq - A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp, etc ...

webcall - The telephone, a supernatural instrument before whose miracles we used to stand amazed, and which we now employ without giving it a thought, to summon our tailor or order an ice cream. --M.Proust

WebRTC-Scalable-Broadcast - This module simply initializes socket.io and configures it in a way that single broadcast can be relayed over unlimited users without any bandwidth/CPU usage issues. Everything happens peer-to-peer!