Media and streaming
Last updated Apr 24, 2026 Deliver video, images, and rich media at scale with encoding, optimization, and global distribution. Cloudflare Stream handles video upload, encoding, and adaptive bitrate delivery. Images transforms and optimizes images on-the-fly. R2 stores media files with zero egress fees. Cache serves content from 300+ edge locations. Hotlink Protection and signed URLs secure media from unauthorized access.
- Upload, encode, and deliver videos
- Optimize and transform images for the web
- Store media at scale
- Cache and accelerate media delivery
- Secure your content
Architecture patterns
Video platform
Build a complete video hosting and delivery solution:
- Stream handles upload, encoding, and adaptive bitrate delivery
- Stream Live enables live streaming with automatic recording
- Signed URLs protect content with token authentication
Image optimization pipeline
Serve optimized images without pre-generating variants:
- R2 stores original high-resolution images
- Images transforms images on-the-fly based on URL parameters
- Workers applies custom logic for format selection and caching
User-generated content
Handle media uploads from users at scale:
- R2 receives uploads directly via presigned URLs
- Workers validates and processes uploaded content
- Stream or Images optimizes media for delivery
Prerequisites
Create a new application
- A Cloudflare account ↗︎. Stream and R2 are account-level offerings. You do not need a domain added to Cloudflare to upload, encode, or store media.
- For Image Transformations: enable the feature per domain from the Transformations page ↗︎ in the dashboard. Refer to Image Transformations.
Use an existing application
- A Cloudflare account ↗︎.
- A domain added to Cloudflare with DNS records proxied through Cloudflare. This is required for CDN caching, image optimization (Polish), and cache rules.
- For Image Transformations on an existing domain: enable the feature from the Transformations page ↗︎ in the dashboard. Refer to Image Transformations.
Related resources
Stream documentation
Complete documentation for video upload, encoding, and delivery.
Images documentation
Complete documentation for image optimization and transformation.
Media case studies
Explore how media companies use Cloudflare.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/use-cases/media-streaming/#page","headline":"Media and streaming","description":"Deliver video, images, and media at scale with Cloudflare Stream, Images, R2, and global caching.","url":"https://developers.cloudflare.com/use-cases/media-streaming/","inLanguage":"en","image":"https://developers.cloudflare.com/use-cases/media-streaming/og.png?v=4ea4d21c69d0864a","dateModified":"2026-04-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Deliver media content from edge locations worldwide. title: Cache and accelerate media delivery image: https://developers.cloudflare.com/use-cases/media-streaming/cache-delivery/og.png?v=aaea85664beb8ce7
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/use-cases/llms.txt
Use this file to discover all available pages before exploring further.
Docs