Simulcast (restream) videos

Last updated Apr 21, 2026 Simulcasting lets you forward your live stream to third-party platforms such as Twitch, YouTube, Facebook, Twitter, and more. You can simulcast to up to 50 concurrent destinations from each live input. To begin simulcasting, select an input and add one or more Outputs.

Add an Output using the API

Add an Output to start retransmitting live video. You can add or remove Outputs at any time during a broadcast to start and stop retransmitting.

Requestbash

curl -X POST \
--data '{"url": "rtmp://a.rtmp.youtube.com/live2","streamKey": "<redacted>"}' \
-H "Authorization: Bearer <API_TOKEN>" \
https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/stream/live_inputs/<INPUT_UID>/outputs

Responsejson

{
  "result": {
    "uid": "6f8339ed45fe87daa8e7f0fe4e4ef776",
    "url": "rtmp://a.rtmp.youtube.com/live2",
    "streamKey": "<redacted>"
  },
  "success": true,
  "errors": [],
  "messages": []
}

Control when you start and stop simulcasting

You can enable and disable individual live outputs with either:

This allows you to:

  • Start a live stream, but wait to start simulcasting to YouTube and Twitch until right before the content begins.
  • Stop simulcasting before the live stream ends, to encourage viewers to transition from a third-party service like YouTube or Twitch to a direct live stream.
  • Give your own users manual control over when they go live to specific simulcasting destinations.

When a live output is disabled, video is not simulcast to the live output, even when actively streaming to the corresponding live input.

By default, all live outputs are enabled.

Enable outputs from the dashboard:

  1. In the Cloudflare dashboard, go to the Live inputs page. Go to Live inputs ↗
  2. Select an input from the list.
  3. Under Outputs > Enabled, set the toggle to enabled or disabled.

Manage outputs

Command Method Endpoint
List outputs GET accounts/:account_identifier/stream/live_inputs
Delete outputs DELETE accounts/:account_identifier/stream/live_inputs/:live_input_identifier
List All Outputs Associated With A Specified Live Input GET /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs
Delete An Output DELETE /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs/{output_identifier}

If the associated live input is already retransmitting to this output when you make the DELETE request, that output will be disconnected within 30 seconds.

Was this helpful?

YesNo

On this page

Simulcast (restream) videos - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/stream/stream-live/simulcasting/#page","headline":"Simulcast (restream) videos","description":"Forward Cloudflare Stream live broadcasts to third-party platforms like YouTube, Twitch, and Facebook.","url":"https://developers.cloudflare.com/stream/stream-live/simulcasting/","inLanguage":"en","image":"https://developers.cloudflare.com/stream/stream-live/simulcasting/og.png?v=90bdc74f6a0336db","dateModified":"2026-04-21","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: Create live inputs and broadcast live video to Cloudflare Stream using RTMPS or SRT. title: Start a live stream image: https://developers.cloudflare.com/stream/stream-live/start-stream-live/og.png?v=c239ac4960286e18


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/stream/llms.txt
Use this file to discover all available pages before exploring further.