media streaming framework and teleconferencing system written in rust
media streaming framework and teleconferencing system written in rust
videocall.rs is an open-source, low-latency video conferencing platform and streaming API written entirely in Rust. It is a WebRTC alternative built on WebTransport (HTTP/3 and QUIC) with an automatic WebSocket fallback, and it runs in the browser, on native devices through a command-line client, and on mobile through iOS and Android SDKs. It is self-hostable, dual-licensed under MIT and Apache-2.0, and built for real-time video streaming from robots, drones, and embedded Linux boards (Raspberry Pi, Jetson) as well as conventional browser-to-browser calls.
Website | Documentation | Discord | Crates.io
Project status: Beta. Actively developed and used in production for non-critical workloads.
videocall.rs gives you the building blocks for real-time video communication without the WebRTC stack. It is aimed at three audiences:
videocall-cli and the mobile SDKs.The same core powers browser calls at videocall.rs.
videocall-cli for headless streaming, and videocall-sdk bindings for iOS and Android.For most server-mediated video use cases, yes. videocall.rs does not use WebRTC's peer-connection stack. Media flows over WebTransport (QUIC/HTTP3), or a WebSocket fallback, to a Rust server that forwards packets to other participants through NATS. You give up WebRTC's mature browser SFU ecosystem, but you also drop ICE, STUN/TURN, and SDP negotiation entirely.
Yes. The repository ships Helm charts for Kubernetes and a fully native local dev stack. Production container images are built reproducibly with Nix. See Getting Started and the architecture document.
Yes, on Chromium-based browsers (Chrome, Edge, Brave) and Safari (macOS and iOS). Firefox is not currently supported. See Browser compatibility.
Those stacks are WebRTC selective-forwarding units. videocall.rs forwards media over WebTransport/QUIC instead of WebRTC, is written entirely in Rust (server, browser client, and native client), and requires no STUN/TURN/ICE infrastructure. See How it compares.
Yes. videocall-cli is a headless native client that streams from a camera on Raspberry Pi, Jetson Nano, and other embedded Linux devices. See CLI-based streaming.
Media is encrypted in transit. WebSocket connections use TLS 1.3, and WebTransport uses QUIC's built-in TLS 1.3 encryption, so media is protected between each client and the relay. The relay server forwards media between participants; it is not end-to-end encrypted.
WebTransport is the core technology that sets videocall.rs apart. Built on HTTP/3 and QUIC, it provides multiplexed, bidirectional streams and datagrams with modern congestion control. Choosing it over WebRTC has concrete consequences:
videocall.rs still runs a forwarding server, so it is architecturally closer to an SFU than to peer-to-peer WebRTC. The difference is that the transport and signaling are radically simpler: no ICE, no TURN, no SDP. For a deep dive, see the architecture document.
An honest, verifiable comparison with widely used WebRTC-based stacks. All four are open source and server-mediated (SFU-style); the differences are in transport and implementation language.
| Project | Media transport | Signaling / NAT traversal | Core language | License |
|---|---|---|---|---|
| videocall.rs | WebTransport (QUIC/HTTP3), WebSocket fallback | QUIC handshake, no ICE/STUN/TURN | Rust (server, browser, native) | MIT / Apache-2.0 |
| LiveKit | WebRTC | ICE / STUN / TURN | Go | Apache-2.0 |
| Jitsi Videobridge | WebRTC | ICE / STUN / TURN | Java | Apache-2.0 |
| mediasoup | WebRTC | ICE / STUN / TURN | C++ core, Node.js / Rust API | ISC |
videocall.rs is the youngest of these and does not yet match their breadth of client SDKs, recording, and ecosystem integrations. Its advantage is a simpler transport and a single-language (Rust) codebase from server to browser.
| Browser | Support |
|---|---|
| Chrome | Yes |
| Brave | Yes |
| Edge | Yes |
| Safari (macOS, iOS) | Yes |
| Firefox | No |
videocall.rs follows a microservices architecture in which clients connect over WebSocket or WebTransport and servers exchange media through a NATS pub/sub backbone.
graph TD
Clients[Clients<br>Browsers, Mobile, CLI] -->|WebSocket| ActixAPI[Actix API<br>WebSocket]
Clients -->|WebTransport| WebTransportServer[WebTransport<br>Server]
ActixAPI --> NATS[NATS<br>Messaging]
WebTransportServer --> NATSPrimary components:
websocket_server, webtransport_server, metrics) built on Actix Web.For details, including connection flows, message routing, and the encryption model, see the architecture document.
Development is fully native: the entire dev stack (postgres, NATS, prometheus, grafana, and the Rust services) runs as host processes supervised by process-compose, with hot reload everywhere. Docker only appears when you want to run the images, which are built by Nix. There are no Dockerfiles in the dev workflow. See docs/nix-architecture.md.
trusted-users so builds can pull the project's public binary cache instead of compiling everything locally. Until then Nix prints ignoring untrusted substituter 'https://videocall-rs.cachix.org' (harmless, but slow):echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
sudo pkill nix-daemondocker run a published image locally.git clone https://github.com/security-union/videocall-rs.git
cd videocall-rs
make devThat's it. make dev opens the process-compose TUI running the whole stack as native processes:
| Process | What | Port |
|---|---|---|
postgres |
postgresql from nixpkgs, state in .data/postgres |
5432 |
nats |
nats-server with JetStream, state in .data/nats |
4222 / 8222 |
meeting-api |
dbmate migrations, then cargo watch |
8081 |
websocket / webtransport |
cargo watch |
8080 / 4433 udp |
metrics / server-stats |
cargo watch |
9091 / 9092 |
dioxus-ui |
tailwind watch + trunk serve |
3001 |
prometheus / grafana |
native, same dashboards/config as the container stack | 9090 / 3000 |
Services wait for middleware health (compose-style depends_on), recompile and restart instantly on save, and the TUI can restart individual processes on demand. Open http://localhost:3001 and navigate to a meeting at http://localhost:3001/meeting/<username>/<meeting-id>.
To stop: quit the TUI (F10 /
No open issues yet, or sync has not completed.