Behind the scenes with Stream Live, Cloudflare’s live streaming service
Jan 2, 2025Kyle Boutette, Jacob Curtis

Summary
This post details the internal architecture and design of Cloudflare Stream Live, focusing on its ingest and delivery mechanisms. It explains how Anycast IPs, Spectrum, Durable Objects, and R2 are used to handle real-time broadcast ingestion, state management, and content storage. It also describes the process of generating HLS/DASH playlists and serving segmented video content to viewers, highlighting the use of internal representations for tracks, renditions, and muxings. The post also touches on the challenges of handling different ingest protocols (RTMPS, SRT, WHIP) and the need for robust state management to support broadcast resumption.
More from the Video Streaming with Cloudflare Stream trail
- An API for MoQ: provision your own isolated relays
- Innovating to address streaming abuse — and our latest transparency report
- Extract audio from your videos with Cloudflare Stream
- MoQ: Refactoring the Internet's real-time media stack
- Make your apps truly interactive with Cloudflare Realtime and RealtimeKit