Pion WebRTC VS libdatachannel

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Pion WebRTC libdatachannel
85 27
12,664 1,535
1.9% -
8.9 9.3
1 day ago 4 days ago
Go C++
MIT License Mozilla Public License 2.0
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 2024-04-19.
  • VoRS: Vo(IP) Simple Alternative to Mumble
    15 projects | news.ycombinator.com | 19 Apr 2024
  • Golang WebRTC. How to use Pion šŸŒRemote Controller
    4 projects | dev.to | 16 Feb 2024
  • Pure Go Implementation of the WebRTC API
    1 project | news.ycombinator.com | 7 Jan 2024
  • Pure C WebRTC
    12 projects | news.ycombinator.com | 7 Jan 2024
    I am really excited about https://github.com/sepfy/libpeer. It has examples ready for ESP32 etc....

    When working on KVS I wasn't familiar with the embedded space at all. I saw 'heavyweight' embedded where you were running on Linux. Then you had RTOS/No OS at all. I wasn't prepared for these devices at all. If we can make WebRTC work in the embedded space I think it will really accelerate what developers are able to build!

    Remotely driven cars, security cameras, robots in hospitals that bring iPads to infectious patients etc... Creative people are building amazing things. The WebRTC/video space needs to work harder and support them :)

    -----

    I love how diverse the WebRTC space is now. Outside of this implementation you have plenty of other options!

    * https://github.com/shinyoshiaki/werift-webrtc (Typescript)

    * https://github.com/pion/webrtc (Golang)

    * https://github.com/webrtc-rs/webrtc (Rust)

    * https://github.com/algesten/str0m (Rust)

    * hhttps://github.com/sepfy/libpeer (C/Embedded)

    * https://webrtc.googlesource.com/src/ (C++)

    * https://github.com/sipsorcery-org/sipsorcery (C#)

    * https://github.com/paullouisageneau/libdatachannel (C++)

    * https://github.com/elixir-webrtc (Elixir)

    * https://github.com/aiortc/aiortc (Python)

    * GStreamerā€™s webrtcbin (C)

    See https://github.com/sipsorcery/webrtc-echoes for examples of some running against each other.

  • WebRTC for the Curious
    18 projects | news.ycombinator.com | 4 Jan 2024
  • Ask HN: What side projects landed you a job?
    62 projects | news.ycombinator.com | 3 Dec 2023
    I have worked four jobs related to https://github.com/pion/webrtc and one for https://webrtcforthecurious.com

    Two companies used Pion. The other two were just using the protocol (WebRTC)

  • Need help with audio calls for rooms with about 10 people in each.
    2 projects | /r/WebRTC | 5 Jun 2023
  • Possible frameworks/languages for a web/mobile application
    2 projects | /r/webdev | 29 May 2023
    In my experience Go has been relatively approachable for people that are good at PHP. It has a great standard library and a pretty solid ecosystem, though frameworks arenā€™t as popular in Go. There are some well regarded libraries for things like WebRTC via https://github.com/pion/webrtc WebSicket via https://github.com/nhooyr/websocket
  • Video streaming in golang
    5 projects | /r/golang | 3 May 2023
    Don't try to make RTC yourself, it looks easy, but in fact, it's a really hard problem to solve. Use https://pion.ly/ it's a pretty solid package they also have a discord/slack channel with a lot of helpful people there.
  • Datachannel video streaming?
    2 projects | /r/WebRTC | 2 May 2023
    Maybe you can reuse some of this code: https://github.com/pion/webrtc/blob/master/examples/data-channels/main.go

libdatachannel

Posts with mentions or reviews of libdatachannel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • VoRS: Vo(IP) Simple Alternative to Mumble
    15 projects | news.ycombinator.com | 19 Apr 2024
  • Simplicity of IRC
    4 projects | news.ycombinator.com | 13 Mar 2024
    You can use https://github.com/paullouisageneau/libdatachannel for your C/C++ integration needs. It's 10k lines. So the answer is 0. Its required dependencies (I assume this as they are git submodules in deps) are more than 100k lines, though, srtp support making the bulk of it. On my machine it took 11 seconds to compile it.

    Irssi is 64k lines (plus its dependencies), so I guess that makes WebRTC complicated.

    Can't argue that DCC isn't simple, but perhaps the protocol deviced decades ago is a bit too simple.

  • OBS merges AV1 support for WebRTC
    2 projects | news.ycombinator.com | 28 Jan 2024
    Most of the work happened in the libdatachannel! You can check out my PR here[0]

    [0] https://github.com/paullouisageneau/libdatachannel/commit/a6...

  • Pure C WebRTC
    12 projects | news.ycombinator.com | 7 Jan 2024
    I am really excited about https://github.com/sepfy/libpeer. It has examples ready for ESP32 etc....

    When working on KVS I wasn't familiar with the embedded space at all. I saw 'heavyweight' embedded where you were running on Linux. Then you had RTOS/No OS at all. I wasn't prepared for these devices at all. If we can make WebRTC work in the embedded space I think it will really accelerate what developers are able to build!

    Remotely driven cars, security cameras, robots in hospitals that bring iPads to infectious patients etc... Creative people are building amazing things. The WebRTC/video space needs to work harder and support them :)

    -----

    I love how diverse the WebRTC space is now. Outside of this implementation you have plenty of other options!

    * https://github.com/shinyoshiaki/werift-webrtc (Typescript)

    * https://github.com/pion/webrtc (Golang)

    * https://github.com/webrtc-rs/webrtc (Rust)

    * https://github.com/algesten/str0m (Rust)

    * hhttps://github.com/sepfy/libpeer (C/Embedded)

    * https://webrtc.googlesource.com/src/ (C++)

    * https://github.com/sipsorcery-org/sipsorcery (C#)

    * https://github.com/paullouisageneau/libdatachannel (C++)

    * https://github.com/elixir-webrtc (Elixir)

    * https://github.com/aiortc/aiortc (Python)

    * GStreamerā€™s webrtcbin (C)

    See https://github.com/sipsorcery/webrtc-echoes for examples of some running against each other.

  • WebRTC for the Curious
    18 projects | news.ycombinator.com | 4 Jan 2024
  • Building WebRTC server implementation for Erlang
    6 projects | /r/WebRTC | 10 Dec 2023
    This is not true, there are actually multiple WebRTC implementations in different languages besides the reference library: aiortc (python), libdatachannel (C++), sipsorcery (C#),webrtc-rs (rust), werift (Typescript), and Amazon Kinesis (C)
  • I spent two years building a desktop environment that runs in the browser, it's finally in beta!
    6 projects | /r/programming | 9 Jul 2023
    Use any means necessary to transfer your data across devices. Could be IPFS, could be FTP, could be EventSource, WebSocket, WebTransport, Fetch, whatever. See https://github.com/guest271314/secure-file-transfer; offscreen-webrtc, https://github.com/paullouisageneau/libdatachannel.
  • Client side Rest server?
    3 projects | /r/learnjavascript | 30 Jun 2023
    I've successfully used libdatachannel to Web pages to connect native applications and stream data to the browser.
  • Security Framework
    2 projects | /r/webdev | 27 May 2023
    Alternatively you can use your server as a signaling server for WebRTC (Insertable Streams ("Breakout Box"), or data channels https://github.com/paullouisageneau/libdatachannel), then users (peers) can exchange data themselves and you don't need to store anything, see True End-to-End Encryption with WebRTC Insertable Streams, A complete example for a WebRTC datachannel with manual signaling.
  • Datachannel video streaming?
    2 projects | /r/WebRTC | 2 May 2023
    there is also a c++ library that can be used to open a data channel connection, I think a number of SFU ā€œservers?ā€ use this library (I wish I had) https://libdatachannel.org/

What are some alternatives?

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

mediasoup - Cutting Edge WebRTC Video Conferencing

libjuice - JUICE is a UDP Interactive Connectivity Establishment library

livekit-server - Scalable, high-performance WebRTC SFU. SDKs in JavaScript, React, React Native, Flutter, Swift, Kotlin, Unity/C#, Go, Ruby and Node. [Moved to: https://github.com/livekit/livekit]

aiortc - WebRTC and ORTC implementation for Python using asyncio

janus-gateway - Janus WebRTC Server

sora-unity-sdk - WebRTC SFU Sora Unity SDK

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

ĀµWebSockets - Simple, secure & standards compliant web server for the most demanding of applications

v4l - Facade to the Video4Linux video capture interface.

webrtc - A pure Rust implementation of WebRTC