Pion WebRTC VS peerjs

Compare Pion WebRTC vs peerjs and see what are their differences.

Our great sponsors
  • Syncfusion - Build stunning web applications quickly using Syncfusion JavaScript UI controls.
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
Pion WebRTC peerjs
31 6
8,108 9,711
4.9% 1.6%
9.1 4.2
4 days ago 21 days ago
Go TypeScript
MIT License MIT License
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.

Pion WebRTC

Posts with mentions or reviews of Pion WebRTC. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-11.
  • How we make WebRTC be easier?
    news.ycombinator.com | 2021-10-11
    Hey HN,

    For the past couple of years I have been working on open source software[0] + a free book[1] to make WebRTC easier. I am trying to find the other gaps in the space. Would love to hear what people find difficult about it still!

    Even if you don't have a solution would be great just to get a feel for where people are at in the space.

    [0] https://github.com/pion/webrtc

    [1] https://webrtcforthecurious.com

    news.ycombinator.com | 2021-10-11
  • Pion WebRTC v3.1.0 Released
    reddit.com/r/WebRTC | 2021-09-23
    reddit.com/r/golang | 2021-09-23
  • Share video feed (camera, screen, file, etc.) from ffmpeg to web(rtc)
    news.ycombinator.com | 2021-09-22
  • Ask HN: What are some tools / libraries you built yourself?
    news.ycombinator.com | 2021-05-16
    I started (but many many others contributed) to the Go implementation of WebRTC Pion WebRTC https://github.com/pion/webrtc

    Along the way I worked on a Go implemenation of DTLS that gets used on its own a bit https://github.com/pion/dtls

    In another life I wrote Therac https://github.com/sean-der/therac. A PHP debugger that was viewable from a browser. I was a remote at the time (2015) and it was a great tool to use with others.

    I also wrote fail2web https://github.com/sean-der/fail2web a web frontend to fail2ban

  • WebRTC over Asp.Net Core - Any examples?
    reddit.com/r/csharp | 2021-05-07
    I'm currently building a new product with .NET 5 that creates a WebRTC data channel with clients and also sends them video over WebRTC. In preparation, I evaluated the current WebRTC landscape. The gist is that almost all WebRTC implementations are in other languages (usually C++), so native interop is nearly unavoidable if you want to use C#. I ultimately decided to create a small native library (.so file) using the excellent Pion WebRTC library for Go and then created a C# wrapper for it using C#'s native interop APIs (e.g. DllImport, Marshal.GetFunctionPointerForDelegate()). So far this has been working well and I have both data communication and video streams working, but I should add the caveat that I haven't shipped the service to production yet (I'm still a couple months of development away from that).
    reddit.com/r/csharp | 2021-05-07
    I meant to mention: I thought about creating an open-source library for the Pion wrapper, but it's currently quite specific to my application in order to reduce the number of calls needed from C# to Go and vice versa. Perhaps I'll write a blog post in the future, though. In the meantime, the approach I took was to start with one of Pion's examples and then turn it into a static library by using cgo to export functions with C linkage and building it as a shared library like this:
  • How can I broadcast my webrtc (many to many) call using rtmp
    reddit.com/r/WebRTC | 2021-04-19
    Your best bet would be GStreamer or ffmpeg. I made a simple example using Pion WebRTC here
  • Play Diablo on Browser Collaboratively
    news.ycombinator.com | 2021-04-15


Posts with mentions or reviews of peerjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-14.
  • How do multiplayer games work with non-dedicated servers?
    Sadly I have no experience with Godot. In any case, you need a server to make the connection between the peers. As you put yourself, prior to an established connection the two parties can't find one another on the web. As long as your game isn't big enough to pay for a server, you could use https://peerjs.com/ 's.
  • How to implement peer to peer connection?
    reddit.com/r/webdev | 2021-06-30
    Depending on your actual requirements there might be plenty of options… What about: https://peerjs.com/
  • 🍿My lockdown project Flickcall - transforming streaming platform to virtual movie theaters [Demo attached]
    reddit.com/r/webdev | 2021-05-14
    Peerjs library for webRTC
  • [AskJS] What do you think about webRTC whit Javascript and Firebase?
    [Disclosure: I'm a developer evangelist at Agora] WebRTC is awesome, it enables you to do peer-to-peer communication without having to deal with a lot of the network topology details. You can even use a framework like PeerJS to simplify your implementation.
  • Live video streaming with react and nodejs?
    reddit.com/r/node | 2021-02-16
    Check out https://peerjs.com/. It's a good library, especially for one-on-one calls. It's P2P. When you start adding more users, it does tend to cause some performance issues, but it works well for smaller projects.
  • PeerJS – Simple peer-to-peer with WebRTC
    news.ycombinator.com | 2021-01-06
    Fun fact about PeerJS, you'll need a server in order to use it (look into STUN/TURN/ICE for more info). The maintainer seems to be hosting one default instance that goes down from time to time. https://github.com/peers/peerjs/issues/671 https://github.com/peers/peerjs/issues/693

    If you're looking to do "pure" P2P in the browser, we're not there yet as we cannot accept incoming connections without something in between right now.

What are some alternatives?

When comparing Pion WebRTC and peerjs you can also consider the following projects:

livekit-server - Scalable, production-grade WebRTC video conferencing. SDKs for web & mobile.

mediasoup - Cutting Edge WebRTC Video Conferencing

janus-gateway - Janus WebRTC Server

awesome-pion - A curated list of awesome things related to Pion

M3U8 - Parser and generator of M3U8-playlists for Apple HLS. Library for Go language. :cinema:

goav - Golang bindings for FFmpeg

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

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

ion - Real-Distributed RTC System by pure Go and Flutter

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

gst - Go bindings for GStreamer (retired: currently I don't use/develop this package)

torrent - Full-featured BitTorrent client package and utilities