v0.2.0 Β· Open Source Β· MIT

Cast your screen.
Zero config.

Lightweight LAN screen casting built in Rust. Discover receivers on your network, stream H.264 with Opus audio β€” no cloud, no accounts, no middleman.

<50ms Target latency
LAN Local network only
5+ Platform targets

Why ZeroCast?

Built for developers, homelabs, and edge devices β€” not for selling you a subscription.

Zero configuration

mDNS discovery finds receivers on your LAN automatically. Start casting in two terminal commands β€” no IP addresses, no pairing codes.

LAN-only privacy

Your screen never leaves your network. No cloud relay, no accounts, no telemetry. What happens on your LAN stays on your LAN.

Native Rust core

One shared codebase with thin platform adapters. Hardware encoders, GPU textures, and a zero-copy pipeline target for minimal overhead.

Quality profiles

From Pi Zero W–class 426p15 to full 1080p60. Profiles negotiate resolution and frame rate between sender and receiver.

Audio + video sync

Opus audio over RTP with RTCP-based A/V synchronization. Native codec support with ffmpeg fallback for interoperability.

Cross-platform

Windows, macOS, and Linux today. Android receiver, iOS via ReplayKit, and Linux ARM boards (Raspberry Pi) on the roadmap.

How it works

A lean media pipeline designed for low latency on local networks.

Capture

Screen grab via native APIs

Encode

H.264 hardware encoder

Transport

RTP/UDP over LAN

Decode

HW decode β†’ display

Discovery mDNS-SD
Video H.264 / RTP
Audio Opus / RTP
Control QUIC / TCP
UI egui + wgpu
Runtime tokio

Quick start

Requires ffmpeg on PATH and a Rust toolchain.

Build
cargo build --workspace
cargo test --workspace
Zero-config cast (two terminals)
# Terminal 1 β€” receiver (publishes via mDNS)
cargo run -p zerocast_desktop -- recv 0.0.0.0:5000 --profile low

# Terminal 2 β€” sender (discovers receiver on LAN)
cargo run -p zerocast_desktop -- stream 0.0.0.0:0 --discover --profile low

Quality profiles

low 426Γ—240 @ 15 fps Pi Zero W / low bandwidth
med 1280Γ—720 @ 30 fps Balanced quality
high 1920Γ—1080 @ 60 fps Full HD
auto Display native Capped at 1080p60

Roadmap

βœ“
Desktop MVP

Screen capture, H.264 encode, RTP streaming, rendering

βœ“
mDNS discovery

Zero-config LAN receiver discovery

βœ“
Audio v0–v1.2

Opus RTP, native codec, RTCP A/V sync

β†’
QoS closed loop

Hot reconfigure, RTCP feedback, recv lag control

β—‹
Android receiver

Then sender support

β—‹
iOS support

ReplayKit + VideoToolbox

β—‹
Embedded receivers

Linux ARM β€” Raspberry Pi Zero W over Wi-Fi

Ready to cast?

Clone the repo, build with Cargo, and stream across your LAN in minutes.