SYSTEM Cited by 1 source
moq-rs¶
moq-rs (github.com/cloudflare/moq-rs) is Cloudflare's open-source Rust implementation of the MoQ Transport protocol. Provides CLI tools for publishing and subscribing to MoQ relay networks.
Tools¶
moq-pubโ publishes a fragmented MP4 stream from ffmpeg (or any source emitting fMP4) to a MoQ relay endpoint.moq-subโ subscribes to a namespace on a MoQ relay and outputs the stream (e.g., to ffplay).
Usage example¶
# Publisher (with auth token)
ffmpeg -stream_loop -1 -re -i input.mp4 \
-f mp4 -movflags empty_moov+frag_every_frame+separate_moof+omit_tfhd_offset - \
| moq-pub -- --name my-namespace "https://draft-16.cloudflare.mediaoverquic.com/<token>"
# Subscriber
moq-sub --name my-namespace "https://draft-16.cloudflare.mediaoverquic.com/<token>" \
| ffplay -hide_banner -an -
Seen in¶
- sources/2026-07-31-cloudflare-an-api-for-moq-provision-your-own-isolated-relays โ demonstrated as the reference client tooling for the Cloudflare MoQ relay network