Quickstart
This quickstart walks you through connecting to a relay, discovering tracks, and viewing live data — all in about 5 minutes.
Prerequisites
Section titled “Prerequisites”- moqtap CLI installed
- A running MoQT relay (or use a public test relay)
Step 1: Probe the relay
Section titled “Step 1: Probe the relay”moqtap peek moqt://relay.example.comThis auto-detects the transport (QUIC or WebTransport), negotiates the draft version, and shows you the relay’s capabilities.
Step 2: Discover namespaces
Section titled “Step 2: Discover namespaces”moqtap peek moqt://relay.example.com namespacesStep 3: List tracks
Section titled “Step 3: List tracks”moqtap peek moqt://relay.example.com tracks liveStep 4: Fetch data
Section titled “Step 4: Fetch data”# Fetch the latest data from a trackmoqtap peek moqt://relay.example.com data live video latest
# Stream data with JSON outputmoqtap peek moqt://relay.example.com data live video -jStep 5: Intercept traffic
Section titled “Step 5: Intercept traffic”# Start a transparent proxy, record to a trace filemoqtap intercept -u moqt://relay.example.com -o session.moqtrace
# Point your app at localhost:4443 instead of the real relayNext steps
Section titled “Next steps”- Subscribing to tracks — filter types, and how their meaning changes between drafts
- Intercepting traffic in depth — listeners, filters, and WebTransport
- Record and replay sessions as
.moqtracefiles - Every command and flag in the CLI reference