# webrtc-rs/webrtc

Async-friendly WebRTC implementation in Rust

Repository: https://github.com/webrtc-rs/webrtc
Canonical: https://ross.abutalabs.com/products/webrtc
Homepage: https://webrtc.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rtc, webrtc, rust, async
Last push: 2026-08-22T21:48:08+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 2575, "days_push": 11, "days_rel": 17, "gap_med": 10, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5130, forks 504 (observed 2026-08-28T04:09:11.009103+00:00)

## What it is
An async-friendly WebRTC implementation in Rust, inspired by and largely rewriting the Pion stack. It is built on a Sans-I/O core with pluggable runtime backends (Tokio and smol included), providing a full ecosystem from low-level RTC protocols to SFU infrastructure.

## Use cases
- build a peer-to-peer video or audio calling app in Rust
- implement a WebRTC SFU media server
- add real-time data channels to a Rust backend
- replace Pion with a Rust-native WebRTC stack
- build a custom signaling and ICE/STUN/TURN pipeline
- stream media over RTP/RTCP with a type-safe Rust library

## When to choose
- you need WebRTC in a Rust project with async/await and runtime flexibility
- you want a Sans-I/O architecture that is easy to test and port
- you need the full stack from ICE/DTLS to RTP and SFU in one ecosystem
- you value memory safety and zero-cost abstractions for real-time media

## When to avoid
- you need a batteries-included browser-side WebRTC API
- your project is not in Rust
- you need a turnkey hosted video service rather than a protocol library
- you depend on the very latest WebRTC spec features that mature C/C++ stacks ship first

## Facets
- artifact type: library
- maturity: active
- function: websocket, networking, http-server, rpc
- domain: networking, web-development, developer-tools
- platform: rust, cross-platform
- tags: webrtc, sans-io, async, pion-inspired, real-time-communication, sfu, rtp, ice, sdp, real-time, tokio

## Member repositories
- webrtc-rs/webrtc (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:11.009103+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:02.723373+00:00, confidence not recorded.
  - readme: https://github.com/webrtc-rs/webrtc (fetched 2026-08-28T04:09:11.009103+00:00, sha 81e8dfdf81b9)
  - homepage: https://webrtc.rs (fetched 2026-08-29T08:56:34.488203+00:00, sha 0659af48dd06)
  - registry_crates: https://crates.io/api/v1/crates/webrtc (fetched 2026-08-29T08:56:34.490615+00:00, sha 32cb2cc0dfa8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
