Create a Mux live stream with RTMPS ingest and retrieve stream key

domain: docs.mux.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with your Mux Token ID and Token Secret using HTTP Basic Auth against the Mux Video API base URL.
  2. POST to the live streams endpoint with a JSON body specifying playback_policy (e.g. 'public'), latency_mode, and any recording or reconnect_window settings.
  3. From the response, extract stream_key and ingest rtmps URL (the ingest URL is a fixed rtmps endpoint; the stream key authorizes the session).
  4. Configure your encoder (OBS, vMix, etc.) with the RTMPS ingest URL and stream key.
  5. Poll GET on the live stream resource or use Mux webhooks to watch for status transitions (idle → active).
  6. Construct a playback URL using the playback_id returned in the response to serve LL-HLS to viewers.

Known gotchas

Related routes

Configure LiveKit Ingress to accept an RTMP stream from OBS and distribute it to WebRTC participants
docs.livekit.io · 6 steps · unrated
Ingest a WebRTC stream into Mux via WHIP
docs.mux.com · 6 steps · unrated
Create a Mux direct upload and retrieve a playback ID
docs.mux.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans