StreamLiveInputRecordingArgs

data class StreamLiveInputRecordingArgs(val allowedOrigins: Output<List<String>>? = null, val hideLiveViewerCount: Output<Boolean>? = null, val mode: Output<String>? = null, val requireSignedUrls: Output<Boolean>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<StreamLiveInputRecordingArgs>

Constructors

Link copied to clipboard
constructor(allowedOrigins: Output<List<String>>? = null, hideLiveViewerCount: Output<Boolean>? = null, mode: Output<String>? = null, requireSignedUrls: Output<Boolean>? = null, timeoutSeconds: Output<Int>? = null)

Properties

Link copied to clipboard
val allowedOrigins: Output<List<String>>? = null

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.

Link copied to clipboard
val hideLiveViewerCount: Output<Boolean>? = null

Disables reporting the number of live viewers when this property is set to true.

Link copied to clipboard
val mode: Output<String>? = null

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. Available values: "off", "automatic".

Link copied to clipboard
val requireSignedUrls: Output<Boolean>? = null

Indicates if a video using the live input has the requireSignedURLs property set. Also enforces access controls on any video recording of the livestream with the live input.

Link copied to clipboard
val timeoutSeconds: Output<Int>? = null

Determines the amount of time a live input configured in automatic mode should wait before a recording transitions from live to on-demand. 0 is recommended for most use cases and indicates the platform default should be used.

Functions

Link copied to clipboard
open override fun toJava(): StreamLiveInputRecordingArgs