RTMP & RTMPS ingest
Async RTMP server on Tokio with native TLS via rustls. Publish with a stream key, get a room, and the HLS ladder starts within a second.
Now in development · Rust only
One Rust binary handles RTMP and RTMPS ingest, WebSocket signaling, and HTTP-based HLS delivery. SQLite for storage. No ffmpeg, no nginx in the media path, no Redis, no Postgres.
The media path is not a wrapper around other tools. It is the tools.
Async RTMP server on Tokio with native TLS via rustls. Publish with a stream key, get a room, and the HLS ladder starts within a second.
Hand-rolled ISO-BMFF muxer, CMAF segments, partial segments for low latency, hash-based delta playlists, and blocking playlist queries that hold the request until the frame exists.
One multiplexed WebSocket carries chat, gifts, presence, room state and live stats. Backpressure-aware, with heartbeat and lag detection.
WAL mode, a single writer task for hot paths, and compile-time checked queries. A database file, not a cluster.
Segments are served straight from disk with range support. The player fetches a manifest and gets bytes — no re-encoding, no re-muxing, no buffering.
Certificates are watched for changes and swapped in without a restart. The same cert and key serve HTTPS, WSS and RTMPS.
From encoder to player, in five hops.
OBS or FFmpeg pushes rtmps://yoyoulive.qzz.io:8443/live/<key>. TLS terminated in-process by rustls.
FLV tags are demuxed in Rust: AVC sequence header, AAC AudioSpecificConfig, per-frame NAL units.
A hand-written ISO-BMFF writer emits init.mp4 and CMAF fragments — moof + mdat, no transcoding.
The segmenter writes segments to a spool and maintains the media playlist, delta playlist and blocking endpoint.
Players fetch /hls/<room>/playlist.m3u8 and receive events over wss://yoyoulive.qzz.io/ws.
REST for state, WebSocket for everything that moves.
POST /api/v1/auth/register
POST /api/v1/auth/login
GET /api/v1/auth/me
POST /api/v1/streams/key
POST /api/v1/streams/live
POST /api/v1/streams/end
GET /api/v1/streams/live
GET /api/v1/hls/:room/playlist.m3u8
GET /api/v1/hls/:room/blocking.m3u8
→ subscribe { room_id }
→ chat { body }
→ gift { gift_id }
← room_state
← viewer_join
← chat
← gift
← stats
← stream_ended
ffmpeg -re -i input.mp4 \
-c:v libx264 -profile:v baseline -pix_fmt yuv420p -g 60 \
-c:a aac -ar 44100 \
-f flv rtmps://yoyoulive.qzz.io:8443/live/YOUR_STREAM_KEY
Live numbers, pulled from the running service.
Create a stream key, point your encoder at it, and you are live.
Go to dashboard