Cloudflare Stream logo

Video

Cloudflare Stream Integrations

Import, encode and manage videos in Cloudflare Stream. Start workflows when videos are ready, encoding fails or an encoder changes state.

Start a workflow

Cloudflare Stream Triggers

5 Instant

Choose what starts your automation.

Encoder connected to a live input

Instant

Start a workflow when an encoder connects to Cloudflare Stream and begins sending a live broadcast.

Encoder disconnected from a live input

Instant

Start a workflow when Stream loses the encoder connection. Use the input ID and event time to notify the broadcast team.

More triggers

Live input encountered an error

Instant

Start a workflow when Stream detects a problem with an incoming broadcast. Use the reported error code to investigate the affected input.

Video could not be processed

Instant

Start a workflow when Stream cannot finish processing a video. Send the video ID and the reported reason to the person handling the upload.

Video is ready to watch

Instant

Start a workflow when Stream finishes processing an upload and makes it available for playback. Share the preview link or update the video’s status in another app.

Then take action

Cloudflare Stream Actions

63 Actions

Choose what your workflow does in Cloudflare Stream.

Add a restreaming destination

Forward a live broadcast to another RTMP or SRT destination from the same Stream input.

Add an audio track from a URL

Attach a separate audio file to a video so viewers can choose another language or commentary track.

More actions

Allow broadcasts on a live input

Reopen a disabled input so an encoder can connect and send live video again.

Analyze low-latency playback

Group WebRTC playback measurements to investigate how viewers receive low-latency streams over WHEP.

Browse the video library

Find videos in your account and use the results to select titles for later workflow steps.

Change a restreaming destination’s status

Turn forwarding on or off for one destination attached to a live input.

Check a caption track for one language

Look up the selected language’s caption track, including its processing status.

Check a video’s processing and playback details

Look up a video by its ID to check its status, metadata and playback information.

Check available video storage

Read the account’s storage allowance, minutes used and video count before importing another video.

Check the current live audience

Get an estimate of how many people are watching a live input right now.

Check the video processing webhook

Look up the account’s current notification destination for on-demand videos.

Check video download availability

See which downloadable versions of a video exist and whether they are ready to retrieve.

Create a clip from a video

Choose start and end times in seconds to turn part of a longer video into a separate clip.

Create a live input for an encoder

Set up a place to send a live broadcast and receive the credentials your encoder needs to connect.

Create a signed playback token

Grant access to a protected video with a token that carries the playback restrictions you select.

Create a video signing key

Generate a private key to sign playback tokens for protected videos. Save the key when Stream returns it.

Create a video upload link

Give a contributor a one-time link to upload a video directly to your Stream account.

Create a watermark from an image file

Upload an image and save it as a reusable watermark profile for videos.

Create a watermark from an image URL

Supply the image URL in a JSON request to create a reusable video watermark profile.

Delete a live input

Permanently remove the input and prevent encoders from starting another broadcast on it.

Ready-made Cloudflare Stream Workflows

7 total

Start with a published template and adapt it to your work.

Browse all templates →
Cloudflare Stream →
More templates

Cloudflare Stream setup notes

  • Connect your Stream account Enter your Cloudflare account ID and a Stream Read or Stream Write API token. Check storage usage before uploading. Analytics actions require the corresponding analytics permissions.

  • Receive video events Deploy the account webhook relay, set its FastHook callback and shared secret, and register its /video URL with Stream. Store the signing secret returned by Stream in the relay. Check for an existing account webhook before changing it.

  • Receive encoder events Configure a Stream Live notification in Cloudflare Notifications. Use the relay’s /live destination and a separate secret. Select the live inputs you want to monitor.