Live Inputs
List live inputs
Retrieve a live input
Create a live input
Update a live input
Delete a live input
ModelsExpand Collapse
LiveInput { created, deleteRecordingAfterDays, enabled, 11 more } Details about a live input.
Details about a live input.
Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a null value to remove an existing scheduled deletion.
A user modifiable key-value store used to reference other systems of record for managing live inputs.
recording: optional { allowedOrigins, hideLiveViewerCount, mode, 2 more } Records the input to a Cloudflare Stream video. Behavior depends on the mode. In most cases, the video will initially be viewable as a live video and transition to on-demand after a condition is satisfied.
Records the input to a Cloudflare Stream video. Behavior depends on the mode. In most cases, the video will initially be viewable as a live video and transition to on-demand after a condition is satisfied.
Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use * for wildcard subdomains. An empty array allows videos to be viewed on any origin.
Disables reporting the number of live viewers when this property is set to true.
mode: optional "off" or "automatic"Specifies the recording behavior for the live input. Set this value to off to prevent a recording. Set the value to automatic to begin a recording and transition to on-demand after Stream Live stops receiving input.
Specifies the recording behavior for the live input. Set this value to off to prevent a recording. Set the value to automatic to begin a recording and transition to on-demand after Stream Live stops receiving input.
srtPlayback: optional { passphrase, streamId, url } Details for playback from an live input using SRT.
Details for playback from an live input using SRT.
status: optional "connected" or "reconnected" or "reconnecting" or 5 moreThe connection status of a live input.
The connection status of a live input.
LiveInputListResponse { liveInputs, range, total }
liveInputs: optional array of { created, deleteRecordingAfterDays, enabled, 3 more }
Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a null value to remove an existing scheduled deletion.
Live InputsOutputs
List all outputs associated with a specified live input
Create a new output, connected to a live input
Update an output
Delete an output
ModelsExpand Collapse
Output { enabled, streamKey, uid, url }
When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live input. Use this to control precisely when you start and stop simulcasting to specific destinations like YouTube and Twitch.