← Back
Cloudflare
Cloudflare Stream adds ability to disable and enable live inputs

New Live Input Control

Cloudflare Stream now supports disabling and enabling live inputs, giving you granular control over your broadcast infrastructure. When a live input is disabled, any incoming RTMPS and SRT connection attempts will be rejected and fail to connect.

Use Cases

This feature enables several important workflows:

  • Temporarily pause inputs without deleting them entirely, preserving configuration and history
  • Programmatically end creator broadcasts by disabling inputs on demand
  • Prevent unauthorized broadcasts by disabling specific inputs when not needed
  • Manage broadcast schedules by enabling/disabling inputs as needed

How to Use

Via API: Update a live input by setting the enabled property to false:

curl --request PUT \
https://api.cloudflare.com/client/v4/accounts/{account_id}/stream/live_inputs/{input_id} \
--header "Authorization: Bearer <API_TOKEN>" \
--data '{"enabled": false}'

Via Dashboard: Toggle inputs directly from the Live inputs list page or the live input detail page.

All existing live inputs remain enabled by default. For detailed implementation guidance, refer to Start a live stream in the Cloudflare documentation.