public static final class CfnChannel.RtmpGroupSettingsProperty.Builder
extends java.lang.Object
CfnChannel.RtmpGroupSettingsProperty
Constructor and Description |
---|
Builder() |
public CfnChannel.RtmpGroupSettingsProperty.Builder adMarkers(java.util.List<java.lang.String> adMarkers)
CfnChannel.RtmpGroupSettingsProperty.getAdMarkers()
adMarkers
- Choose the ad marker type for this output group.
MediaLive will create a message based on the content of each SCTE-35 message, format it for that marker type, and insert it in the datastream.this
public CfnChannel.RtmpGroupSettingsProperty.Builder authenticationScheme(java.lang.String authenticationScheme)
CfnChannel.RtmpGroupSettingsProperty.getAuthenticationScheme()
authenticationScheme
- An authentication scheme to use when connecting with a CDN.this
public CfnChannel.RtmpGroupSettingsProperty.Builder cacheFullBehavior(java.lang.String cacheFullBehavior)
CfnChannel.RtmpGroupSettingsProperty.getCacheFullBehavior()
cacheFullBehavior
- Controls behavior when the content cache fills up.
If a remote origin server stalls the RTMP connection and doesn't accept content fast enough, the media cache fills up. When the cache reaches the duration specified by cacheLength, the cache stops accepting new content. If set to disconnectImmediately, the RTMP output forces a disconnect. Clear the media cache, and reconnect after restartDelay seconds. If set to waitForServer, the RTMP output waits up to 5 minutes to allow the origin server to begin accepting data again.this
public CfnChannel.RtmpGroupSettingsProperty.Builder cacheLength(java.lang.Number cacheLength)
CfnChannel.RtmpGroupSettingsProperty.getCacheLength()
cacheLength
- The cache length, in seconds, that is used to calculate buffer size.this
public CfnChannel.RtmpGroupSettingsProperty.Builder captionData(java.lang.String captionData)
CfnChannel.RtmpGroupSettingsProperty.getCaptionData()
captionData
- Controls the types of data that pass to onCaptionInfo outputs.
If set to all, 608 and 708 carried DTVCC data is passed. If set to field1AndField2608, DTVCC data is stripped out, but 608 data from both fields is passed. If set to field1608, only the data carried in 608 from field 1 video is passed.this
public CfnChannel.RtmpGroupSettingsProperty.Builder inputLossAction(java.lang.String inputLossAction)
CfnChannel.RtmpGroupSettingsProperty.getInputLossAction()
inputLossAction
- Controls the behavior of this RTMP group if the input becomes unavailable.
emitOutput: Emit a slate until the input returns. pauseOutput: Stop transmitting data until the input returns. This does not close the underlying RTMP connection.this
public CfnChannel.RtmpGroupSettingsProperty.Builder restartDelay(java.lang.Number restartDelay)
CfnChannel.RtmpGroupSettingsProperty.getRestartDelay()
restartDelay
- If a streaming output fails, the number of seconds to wait until a restart is initiated.
A value of 0 means never restart.this
public CfnChannel.RtmpGroupSettingsProperty build()
CfnChannel.RtmpGroupSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided