simple-peer VS aiortc

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

simple-peer

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

aiortc

WebRTC and ORTC implementation for Python using asyncio (by aiortc)
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
simple-peer aiortc
7 10
5,761 2,612
- 3.5%
6.1 6.4
10 days ago 9 days ago
JavaScript Python
MIT License BSD 3-clause "New" or "Revised" 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.

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.
  • Building a customer support solution focused on video calls
    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
    news.ycombinator.com | 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: 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?
    reddit.com/r/WebRTC | 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)
    dev.to | 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.
  • tmp.spacet.me devlog part 4
    dev.to | 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
    reddit.com/r/WebRTC | 2021-01-07
    simple-peer.git
  • Simple-peer – Simple WebRTC video, voice, and data channels
    news.ycombinator.com | 2021-01-06

aiortc

Posts with mentions or reviews of aiortc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-19.
  • How to deploy OpenCV video feed cam with my Django application?
    reddit.com/r/django | 2021-07-19
    You can't use Django for that, RTC is a separate protocol from HTTP. Check out https://github.com/aiortc/aiortc for a Python-based RTC stack. You write code in there which does the data processing and calls HTTP APIs or something on the Django side.
  • Can't add a second data channel while handling message events separately
    reddit.com/r/WebRTC | 2021-07-05
    I am using this python library: aiortc/aiortc while primarily using this example.
  • WebRTC ➕ Build Yet another Chatting app💭 but P2P/E2EE🤯.!!
    dev.to | 2021-07-01
    aiortc(python)
  • QUIC is now RFC 9000
    news.ycombinator.com | 2021-05-27
    I am sure there are even more implementations that I am not aware of.

    * https://github.com/pion/sctp

    * https://github.com/aiortc/aiortc/blob/main/src/aiortc/rtcsct...

    * https://source.chromium.org/chromium/chromium/src/+/main:thi...

    * https://github.com/sctplab/usrsctp

    People don't make these decisions for technical reasons only. Career wise it is a bad choice to spend your time working on pre-existing technologies. You don't become a distinguished engineer by iterating on existing technologies. You become one by being the creator of something new.

    I think QUIC is great and does a good job solving the problems it was designed to solve. It is disingenuous to pretend these decisions were made only for technical reasons.

  • Show HN: WebRTC-Echoes: Interop for C#, C++, Python, TypeScript, Go and Servers
    news.ycombinator.com | 2021-03-29
  • Any Example Of Streaming Non User Media Media
    reddit.com/r/WebRTC | 2021-02-25
    According to aiortc developper, there is currently a bug in Firefox: https://github.com/aiortc/aiortc/issues/481
  • Webrtc For Lowlatency Gaming On Cloud
    reddit.com/r/WebRTC | 2021-02-24
  • Python WebRTC basics with aiortc
    dev.to | 2021-02-11
    Fortunately, we can use aiortc, a great open-source WebRTC library for Python. We will start by running the sample code and then learn about WebRTC based on it.
  • Any example of streaming non "user media" media?
    reddit.com/r/WebRTC | 2021-02-11
    I am using aiortc. In fact, I have been experimenting with a modified version of that example: https://github.com/aiortc/aiortc/tree/main/examples/server
  • WebRTC is now a W3C and IETF standard
    https://github.com/aiortc/aiortc (Python)

What are some alternatives?

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

webrtc-video-conference - WebRTC video conference app

Neko - A self hosted virtual browser (rabb.it clone) that runs in docker.

Pion WebRTC - Pure Go implementation of the WebRTC API

janus-gateway - Janus WebRTC Server

werift-webrtc - WebRTC Implementation for TypeScript (Node.js), includes ICE/DTLS/SCTP/RTP/SRTP

webtty - Share a terminal session over WebRTC

facedetect - It'll capture image from your webcam and detect your face. It's also supported real time face detect from webcam video.