Skip to content
Back to feed

December 3, 2026 · Cloudflare

Stream, Queues - Subscribe to Stream events with Queues

What changed

Stream event subscriptions in Queues: Receive 14 Stream event types on a queue, choosing which events and routing to multiple destinations.

You can now subscribe to Stream events through Queues event subscriptions and receive them on a queue. Process them with a Worker or an HTTP pull consumer to publish videos when they are ready, react to live broadcasts starting or stopping, or track caption and download progress.

Unlike webhooks, which send a fixed set of events to one URL, event subscriptions let you choose which events you receive and route them to multiple destinations. Create one subscription per queue to send different events to different consumers.

Stream publishes 14 event types across your account:

  • Videos: video_state.ready, video_state.updated, video_state.errored
  • Live inputs: live_input.connected, live_input.disconnected, live_input.errored
  • Captions: caption.created, caption.updated, caption.ready, caption.deleted
  • Downloads: download.created, download.updated, download.ready, download.deleted

To create a subscription, run the following command:

npmyarnpnpm
npx wrangler queues subscription create <QUEUE_NAME> --source stream --events video_state.ready,live_input.connected
--source stream --events video_state.ready,live_input.connected" aria-label="Copy to clipboard" class="border-border text-muted-foreground hover:text-foreground focus-visible:outline-ring m-0 flex shrink-0 cursor-pointer items-center justify-center border-0 border-l border-solid bg-transparent px-3 transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2">
yarn wrangler queues subscription create <QUEUE_NAME> --source stream --events video_state.ready,live_input.connected
--source stream --events video_state.ready,live_input.connected" aria-label="Copy to clipboard" class="border-border text-muted-foreground hover:text-foreground focus-visible:outline-ring m-0 flex shrink-0 cursor-pointer items-center justify-center border-0 border-l border-solid bg-transparent px-3 transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2">
pnpm wrangler queues subscription create <QUEUE_NAME> --source stream --events video_state.ready,live_input.connected
--source stream --events video_state.ready,live_input.connected" aria-label="Copy to clipboard" class="border-border text-muted-foreground hover:text-foreground focus-visible:outline-ring m-0 flex shrink-0 cursor-pointer items-center justify-center border-0 border-l border-solid bg-transparent px-3 transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2">

Refer to Stream event subscriptions for all event types and example payloads.

Get the week’s Cloudflare changes in one email

Free, every Monday: only what changed in Cloudflare that week. We email you a link to confirm.

See last week’s digest

Free. Unsubscribe any time.

All Stream changes