In the Cloudflare dashboard, navigate to Stream → Live Inputs and create a Live Input to obtain a WHIP ingest URL and a WHEP playback URL.
Alternatively, create the live input via the Cloudflare Stream API and extract the webRTC.url (WHIP) and webRTCPlayback.url (WHEP) fields from the response.
Point any WHIP-compatible encoder or browser client at the WHIP URL; authentication is embedded in the URL's query parameters so no separate bearer token is needed.
For playback, use any WHEP-compatible player by providing the WHEP URL; Cloudflare Stream's implementation follows the WHEP draft specification.
Cloudflare Stream also records the live input automatically to a Cloudflare Stream video asset; retrieve the video ID from the live input after the stream ends.
Monitor stream state via the Cloudflare Stream API or dashboard; WHIP/WHEP now uses the Cloudflare Realtime (Calls) backend.
Known gotchas
VP9 over WHIP is supported but was still in beta as of early 2025; default to H.264 for broadest compatibility.
Trickle ICE is supported; ensure your WHIP client handles it to reduce connection setup time.
The WHIP and WHEP URLs contain credentials; treat them as secrets and do not embed them in client-side code.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp