Cloudflare Stream
APIUpload, encode and deliver on-demand or live video
- Erişim
- Cloudflare API token
Hakkında
Cloudflare Stream accepts video uploads and live broadcasts, then encodes and delivers them through its player or HLS and DASH streams. Billing tracks video minutes stored and delivered; encoding and ingress are included.
Neler yapabilirsin
- Upload a video file and play it through a hosted player
- Stream live video and keep a recording for later playback
- Give users direct upload URLs without exposing an API token
Başlarken
- Enable Stream in your Cloudflare account
- Create an API token with Stream upload permissions
- Upload a video and use its playback URL or Stream player
Örnek kod
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/stream" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--form "file=@./video.mp4"Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- JavaScript/TypeScript, Python, Go
- MCP sunucusu
- Uzak sunucu
- Entegrasyonlar
- Cloudflare