Skip to main content

Stream

1 min read

Stream

Shared across every PremiumPress product. 1 classes in inc/Stream.

Cloudflare Cloudflare.php​

Cloudflare Stream Live provider. The default (and currently only) Go Live backend. A browser captures webcam + mic and publishes over WHIP (WebRTC) to a per-broadcaster "live input"; Cloudflare fans the stream out to viewers as HLS and — because every input is created with automatic recording — leaves a VOD behind that becomes the watch-page archive. Credentials (resolved at request time, mirroring Studio\ImageGen — never logged or sent to the browser): - Account id : Settings 'cf_stream_account' | PPT_CF_STREAM_ACCOUNT | filter ppt_cf_stream_account - API token : Settings 'cf_stream_token' | PPT_CF_STREAM_TOKEN | filter ppt_cf_stream_token (a Cloudflare API token with Stream:Edit) - Customer subdomain: Settings 'cf_stream_customer'| PPT_CF_STREAM_CUSTOMER | filter ppt_cf_stream_customer (the "<code>" in customer-<code>.cloudflarestream.com — used to build public playback URLs without another API round-trip)

API
accountId()token()customerCode()configured()createInput()inputState()recordingUid()manifestUrl()deleteInput()
inc/Stream/Cloudflare.php