Skip to content
Projets

À propos

Diffusion vidéo WebRTC à faible latence avec accélération matérielle et contrôle à distance pour Raspberry Pi et NVIDIA Jetson

Design et médias

Comment ces chiffres sont mesurés

What you can do

  • Low-latency video — WebRTC with NAT traversal and congestion control.
  • Remote control — commands and telemetry over WebRTC DataChannels.
  • Hardware acceleration — H.264/AV1 on supported devices.
  • RTSP input — add WebRTC and DataChannels to an existing IP camera.

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

pi-webrtc

WebRTC Version Download Release License Apache

What is pi-webrtc?

A single binary that streams a camera from a Raspberry Pi or Jetson to a browser over WebRTC, and carries control messages back to the device. It delivers sub-100ms latency on LAN and works remotely over WiFi, LTE, or 5G with no public IP.

Raspberry Pi 5 streaming to a browser over WebRTC with gamepad control

▶ Watch the full demo

Features

  • Low-latency video — WebRTC with NAT traversal and congestion control.
  • Remote control — commands and telemetry over WebRTC DataChannels.
  • Hardware acceleration — H.264/AV1 on supported devices.
  • RTSP input — add WebRTC and DataChannels to an existing IP camera.

Signaling

Signaling Use case
WHEP Playback with any standard WebRTC player
MQTT Peer-to-peer from anywhere, with device control
SFU Many viewers at once via LiveKit or Cloudflare Realtime

Several signaling options can run at the same time. See Signaling.

Quick Start

On a Raspberry Pi with Raspberry Pi OS Trixie (64-bit) and a CSI camera:

sudo apt update
sudo apt install libmosquitto1 pulseaudio libavformat61 libyaml-cpp0.8

wget https://github.com/mazupo/pi-webrtc/releases/latest/download/pi-webrtc_raspios-trixie-arm64.tar.gz
tar -xzf pi-webrtc_raspios-trixie-arm64.tar.gz

./pi-webrtc --camera=libcamera:0 --uid=my-pi --no-audio --use-whep

Open app.mazupo.com/whep, enter http://<your-pi-ip>:8080 as the WHEP URL, and connect.

Step-by-step guides: Raspberry Pi · NVIDIA Jetson · Watch from anywhere with MQTT

preview_demo

Hardware

Platform Camera backend Hardware encoding
Raspberry Pi libcamera H.264 on supported models
NVIDIA Jetson libargus H.264 / AV1 on supported models

USB cameras (V4L2) and RTSP streams work on both platforms.

Documentation

📚 Full documentation, also readable in docs/.

Support the project

Sponsors help fund continued development and receive access to additional releases, features, and documentation. See Sponsors.

License

Apache-2.0 — see LICENSE. Third-party notices: see NOTICE.

Explorer des projets similaires

Chargement…