# aiortc/aiortc

WebRTC and ORTC implementation for Python using asyncio

Repository: https://github.com/aiortc/aiortc
Canonical: https://ross.abutalabs.com/products/aiortc
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: webrtc, ortc, data-channel, python, asyncio, webrtc-libraries
Last push: 2026-07-17T08:17:35+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 3113, "days_push": 47, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5094, forks 888 (observed 2026-08-28T04:09:09.671298+00:00)

## What it is
aiortc is a Python library implementing WebRTC and ORTC on top of asyncio, with an API closely mirroring the JavaScript WebRTC API. It supports audio, video, and data channel exchange and is regularly tested for interoperability with Chrome and Firefox.

## Use cases
- build a WebRTC server in Python
- exchange data channels between Python and browsers
- apply OpenCV computer vision to WebRTC video streams
- learn how WebRTC works by reading a readable implementation
- stream audio and video from Python to a browser
- implement custom signaling and media handling without native WebRTC bindings

## When to choose
- you need WebRTC in pure Python with asyncio integration
- you want to plug Python audio/video processing into a WebRTC pipeline
- you need a hackable, readable WebRTC implementation for learning or customization
- you want interoperable audio, video, and data channels with Chrome and Firefox

## When to avoid
- you need maximum media performance or hardware-accelerated codecs
- you are building a browser-only app where native WebRTC suffices
- you need a language other than Python
- you need a turnkey video conferencing product rather than a building block

## Facets
- artifact type: library
- maturity: active
- function: websocket, http-server, audio-processing, video-processing, networking, concurrency
- domain: web-development, networking, developer-tools
- platform: python, cross-platform
- tags: webrtc, ortc, asyncio, data-channel, sdp, dtls, srtp, real-time-communication, signaling, real-time, audio, video

## Member repositories
- aiortc/aiortc (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.671298+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:02:14.815860+00:00, confidence not recorded.
  - readme: https://github.com/aiortc/aiortc (fetched 2026-08-28T04:09:09.671298+00:00, sha d5140ba3230a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
