Cloudflare Stream

Cloudflare Stream is a live streaming and on-demand video platform, which can ingest, encode, record, and play videos from one unified product.

For further information, please visit https://www.cloudflare.com/developer-platform/products/cloudflare-stream/

Before getting started, navigate to Appearance > Install Plugins page and activate WP Cloudflare Stream plugin.

Configure API Key


Navigate to Settings > WP Cloudflare Stream > API Credentials tab, enter your Cloudflare Account ID, Cloudflare Account API Token keys and Cloudflare Customer Subdomain.

Secure your stream


Since version 1.1, securing streams using signed URLs is supported.

To enable the feature, navigate to Settings > WP Cloudflare Stream > API Credentials tab and enable the "Secure videos with signed URLs" option.

If you've added videos before enabling this feature, you will need to navigate to Settings > WP Cloudflare Stream > Misc tab and click the "Bulk Update" button to apply the new settings to all previously uploaded videos.

Configure Upload and Webhook


Navigate to Upload tab, click Install Webhook button


Configure Live Stream


Navigate to Live Stream tab, from there, you can enable Live Stream, set Custom Ingest Domain and other options as desired


Simulcast


Since version 1.1, you have the capability to broadcast your live stream to third-party platforms such as Twitch, YouTube, Facebook, Twitter, and others. Simulcast to up to 50 concurrent destinations from each live input is supported.

Frontend
Backend

Receive Live WebHooks


Refer to "Subscribe to Stream Live Webhooks" for further instruction https://developers.cloudflare.com/stream/stream-live/webhooks/


Capabilities

Members must have the appropriate capabilities to create live streams.

To assign permissions:

  1. Navigate to your Frontend Dashboard > Settings > Capabilities.

  2. Select "Cloudflare Stream".

  3. Choose a specific user role to grant permissions to, or "All" to retrieve all roles.

  4. Check the necessary capability checkboxes.

  • cloudflare_create_live – Allows members to create only one live stream.

  • cloudflare_create_lives – Allows members to create multiple live streams.

Video Help Guides

Last updated