First Connection
Quick start with the CLI
Section titled “Quick start with the CLI”The fastest way to test a connection:
# Probe a relay — auto-detects transport and draft versionmoqtap peek moqt://relay.example.com
# Skip TLS verification for dev relaysmoqtap peek moqt://localhost:4443 -kYou’ll see the negotiated draft version, relay role, and handshake result.
What you’ll see
Section titled “What you’ll see”Once connected, moqtap prints the full setup exchange:
12:34:56.788 #1 -- ALPN moqt-2012:34:56.789 #1 C→R SETUP path=/moq12:34:56.791 #1 R→C SETUP max_request_id=100Every line carries a timestamp, the session number, the direction (C→R for client to relay, R→C for relay to client), the message class, and the decoded message. Session state transitions — connected, setup complete, active, closed — are printed in the same stream.
Inspect with the browser extension
Section titled “Inspect with the browser extension”If you’re debugging a web application:
- Install the WebTransport Inspector extension
- Open DevTools (F12) and navigate to the WebTransport Inspector panel
- Load your page — MoQT connections are detected and decoded automatically
Next steps
Section titled “Next steps”- Subscribe to a track
- Discover namespaces
- Fetch historical data
- Intercept traffic between your app and a relay