aiortc VS base-drafts

Compare aiortc vs base-drafts and see what are their differences.

aiortc

WebRTC and ORTC implementation for Python using asyncio (by aiortc)

base-drafts

Internet-Drafts that make up the base QUIC specification (by quicwg)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
aiortc base-drafts
19 9
3,907 1,609
2.3% 0.6%
7.3 0.6
about 1 month ago 9 days ago
Python Shell
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.

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 2024-04-19.
  • VoRS: Vo(IP) Simple Alternative to Mumble
    15 projects | news.ycombinator.com | 19 Apr 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
  • 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)
  • how do i build a webapp to process user video from their webcam.
    1 project | /r/flask | 3 Jan 2023
    Not sure flask would work but I think https://github.com/aiortc/aiortc has an example just like what you are trying.
  • How to connect a JS webpage to a python server using WebRTC?
    1 project | /r/webdev | 15 Dec 2022
    Context: I was making a snapchat-like filter application on webcam footage. In order to create those overlays, i used some python's opencv and dlib to locate the face and apply the overlay. As far as i know, websockets are not good for video transfer since sockets are slower so someone suggested me to use "WebRTC". So I decided to settle on this https://github.com/aiortc/aiortc python based webrtc to use my python code at the backend and use a JS front end to send the video and received the filtered image
  • Running a ML model on real-time video coming from the client side.
    1 project | /r/django | 11 Dec 2022
  • [Question] OpenCV and aiortc on a Raspberry Pi 4
    1 project | /r/opencv | 8 Mar 2022
    So it seems like https://github.com/aiortc/aiortc is the obvious answer here, but I just can't seem to grok the documentation. I have run the examples successfully, but can't quite seem to tailor them to my use-case.
  • How in the world there is no webrtc module for python?
    2 projects | /r/flask | 25 Feb 2022
    I'm not sure how you weren't able to find this: aiortc
  • How to deploy OpenCV video feed cam with my Django application?
    2 projects | /r/django | 19 Jul 2021
    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.

base-drafts

Posts with mentions or reviews of base-drafts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • Multipath TCP for Linux
    6 projects | news.ycombinator.com | 19 Apr 2024
    QUIC is a step backwards here; it has no multipath support: https://lwn.net/Articles/964377/

    Multipath: There are several areas where TCP still has an advantage over QUIC. One of those is multipath support. Multipath TCP connections can send data on different network paths simultaneously — for example, sending via both WiFi and cellular data — to provide better throughput than either path permits individually.

    Server connection migration is explicitly forbidden by QUIC:

    https://github.com/quicwg/base-drafts/pull/2031

  • What does TCP/IP, OSI model even in means in job requirements
    1 project | /r/cybersecurity | 9 Dec 2022
  • RFC 9114 – HTTP/3
    1 project | news.ycombinator.com | 6 Jun 2022
    https://github.com/quicwg/base-drafts/issues/253

    TL;DR just like HTTP/2, we wanted to avoid friction in deploying these protocols. Having to rewrite URLs because of new schemes is pretty unpalatable, it has major impact. Instead, HTTP/3 can rely on other IETF-defined mechanisms like Alt-Svc (RFC 7838) and the more recent SVCB / HTTPS RR [1] DNS-based methods. The latter has been deployed on Cloudflare a while [2] and supported in Firefox. Other user agents have also expressed interest or intent to support it.

    The net outcome is that developers can by and large focus on HTTP semantics, and let something a little further down the stack worry more about versions. Sometime devs will need to peek into that area, but not the majority.

    [1] - https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-...

  • Announcing s2n-quic 1.0
    9 projects | /r/rust | 17 Feb 2022
    After lots of hard work, we're excited to open-source [s2n-quic](https://github.com/aws/s2n-quic), a Rust implementation of the [IETF QUIC protocol](https://quicwg.org/). Feel free to ask any questions here in the comments or by [opening an issue](https://github.com/aws/s2n-quic/issues/new/choose). Thanks!
  • The IETF QUIC Working Group
    1 project | news.ycombinator.com | 24 Nov 2021
  • Crate to build network packets over UDP
    5 projects | /r/rust | 9 Jul 2021
    Maybe check out laminar and quinn, which implement custom protocols on top of UDP (quinn implements QUIC), to get an idea on how to do things.
  • QUIC is now RFC 9000
    15 projects | news.ycombinator.com | 27 May 2021
    IETF work is conducted mostly on email lists, hence the "many thousands of emails".

    For some newer work like QUIC, GitHub is used to maintain a more to-the-minute shared view of the documents, and then again as mentioned in the text you quoted, GitHub Issues and PRs are used to manage the document, particularly by the most active participants.

    https://github.com/quicwg/base-drafts - of course raising issues or PRs for them now won't do anything useful for you, because these RFCs were published. But you can see there were thousands of commits, one of the last being Martin Thompson's minor typographical tweaks summarised as "DOES IT NEVER END?!?".

  • QUIC and HTTP/3 Support Now in Firefox Nightly and Beta
    12 projects | news.ycombinator.com | 16 Apr 2021

What are some alternatives?

When comparing aiortc and base-drafts you can also consider the following projects:

Pion WebRTC - Pure Go implementation of the WebRTC API

s2n-quic - An implementation of the IETF QUIC protocol

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

shadowsocks-rust - A Rust port of shadowsocks

webrtc - A pure Rust implementation of WebRTC

quinn - Async-friendly QUIC implementation in Rust

janus-gateway - Janus WebRTC Server

quicly - A modular QUIC stack designed primarily for H2O

amazon-kinesis-video-streams-webrtc-sdk-c - Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams.

quiche - 🥧 Savoury implementation of the QUIC transport protocol and HTTP/3

simple-peer - 📡 Simple WebRTC video, voice, and data channels

message-io - Fast and easy-to-use event-driven network library.