simple-peer VS janus-gateway

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


📡 Simple WebRTC video, voice, and data channels (by feross)
Our great sponsors
  • Syncfusion - See why our products are consistently getting 4.6 out of 5 stars by your peers.
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
simple-peer janus-gateway
8 6
5,774 5,935
- 2.0%
6.1 9.2
19 days ago 5 days ago
JavaScript C
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.


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 | 2021-10-16
    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
    Custom peer-to-peer video call implementation can also be done using vanilla webrtc or but using an SFU such as Janus can help
  • Show HN: Jam, an Open Source Clubhouse | 2021-02-14
    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:], 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? | 2021-02-11
    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) | 2021-01-10
    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.
  • devlog part 4 | 2021-01-08
    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 | 2021-01-07
  • Simple-peer – Simple WebRTC video, voice, and data channels | 2021-01-06


Posts with mentions or reviews of janus-gateway. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-17.
  • Casey Muratori: refterm and the philosophy of non-pessimization (how you can make programs run 100x faster without optimizations)
    This all changes when you are actually a domain expert: You can treat the various components as a "white box" because you see the forest for the trees and can make cross-cutting assumptions which will inherently make the code faster. I've noticed a lot of projects written by domain experts are often these giant clusterfucks of C that violate pretty much every guideline there are so many Medium blogs about, and yet they're very stable and widely used. See: for example.
  • Stop using Zoom, Hamburg’s data protection agency warns state government | 2021-08-17
    Yes, there are many self-hosted options out there. works well for multi-party video with up to about 15 users in a room assuming everyone has a reasonably reliable connection.
  • WebRTC over Asp.Net Core - Any examples? | 2021-05-07
    - Janus (C / C++)
  • Building a customer support solution focused on video calls
    You can also take a look at which can help you implement the video call part (as well as more traditional rtc scenario)
  • need suggestions for options for media server (WebRTC preferred) | 2021-04-14
    You can try janus
  • Show HN: WebRTC-Echoes: Interop for C#, C++, Python, TypeScript, Go and Servers | 2021-03-29

What are some alternatives?

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

mediasoup - Cutting Edge WebRTC Video Conferencing

Pion WebRTC - Pure Go implementation of the WebRTC API

jitsi - Jitsi is an audio/video and chat communicator that supports protocols such as SIP, XMPP/Jabber, IRC and many other useful features.

libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets

galene - The Galène videoconference server

webrtc-video-conference - WebRTC video conference app

media-server-node - WebRTC Media Server for Node.js

gst-plugins-bad - 'Bad' GStreamer plugins and helper libraries

Rocket.Chat - The communications platform that puts data protection first.

kms-core - Core library of Kurento Media Server

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

SIPSorcery - A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.