public static interface RtmpGroupSettings.Builder extends SdkPojo, CopyableBuilder<RtmpGroupSettings.Builder,RtmpGroupSettings>
Modifier and Type | Method and Description |
---|---|
RtmpGroupSettings.Builder |
authenticationScheme(AuthenticationScheme authenticationScheme)
Authentication scheme to use when connecting with CDN
|
RtmpGroupSettings.Builder |
authenticationScheme(String authenticationScheme)
Authentication scheme to use when connecting with CDN
|
RtmpGroupSettings.Builder |
cacheFullBehavior(RtmpCacheFullBehavior cacheFullBehavior)
Controls behavior when content cache fills up.
|
RtmpGroupSettings.Builder |
cacheFullBehavior(String cacheFullBehavior)
Controls behavior when content cache fills up.
|
RtmpGroupSettings.Builder |
cacheLength(Integer cacheLength)
Cache length, in seconds, is used to calculate buffer size.
|
RtmpGroupSettings.Builder |
captionData(RtmpCaptionData captionData)
Controls the types of data that passes to onCaptionInfo outputs.
|
RtmpGroupSettings.Builder |
captionData(String captionData)
Controls the types of data that passes to onCaptionInfo outputs.
|
RtmpGroupSettings.Builder |
inputLossAction(InputLossActionForRtmpOut inputLossAction)
Controls the behavior of this RTMP group if input becomes unavailable.
|
RtmpGroupSettings.Builder |
inputLossAction(String inputLossAction)
Controls the behavior of this RTMP group if input becomes unavailable.
|
RtmpGroupSettings.Builder |
restartDelay(Integer restartDelay)
If a streaming output fails, number of seconds to wait until a restart is initiated.
|
copy
applyMutation, build
RtmpGroupSettings.Builder authenticationScheme(String authenticationScheme)
authenticationScheme
- Authentication scheme to use when connecting with CDNAuthenticationScheme
,
AuthenticationScheme
RtmpGroupSettings.Builder authenticationScheme(AuthenticationScheme authenticationScheme)
authenticationScheme
- Authentication scheme to use when connecting with CDNAuthenticationScheme
,
AuthenticationScheme
RtmpGroupSettings.Builder cacheFullBehavior(String cacheFullBehavior)
cacheFullBehavior
- Controls behavior when content cache fills up. If remote origin server stalls the RTMP connection and
does not accept content fast enough the 'Media Cache' will fill up. When the cache reaches the
duration specified by cacheLength the cache will stop accepting new content. If set to
disconnectImmediately, the RTMP output will force a disconnect. Clear the media cache, and reconnect
after restartDelay seconds. If set to waitForServer, the RTMP output will wait up to 5 minutes to
allow the origin server to begin accepting data again.RtmpCacheFullBehavior
,
RtmpCacheFullBehavior
RtmpGroupSettings.Builder cacheFullBehavior(RtmpCacheFullBehavior cacheFullBehavior)
cacheFullBehavior
- Controls behavior when content cache fills up. If remote origin server stalls the RTMP connection and
does not accept content fast enough the 'Media Cache' will fill up. When the cache reaches the
duration specified by cacheLength the cache will stop accepting new content. If set to
disconnectImmediately, the RTMP output will force a disconnect. Clear the media cache, and reconnect
after restartDelay seconds. If set to waitForServer, the RTMP output will wait up to 5 minutes to
allow the origin server to begin accepting data again.RtmpCacheFullBehavior
,
RtmpCacheFullBehavior
RtmpGroupSettings.Builder cacheLength(Integer cacheLength)
cacheLength
- Cache length, in seconds, is used to calculate buffer size.RtmpGroupSettings.Builder captionData(String captionData)
captionData
- Controls the types of data that passes to onCaptionInfo outputs. If set to 'all' then 608 and 708
carried DTVCC data will be passed. If set to 'field1AndField2608' then DTVCC data will be stripped
out, but 608 data from both fields will be passed. If set to 'field1608' then only the data carried in
608 from field 1 video will be passed.RtmpCaptionData
,
RtmpCaptionData
RtmpGroupSettings.Builder captionData(RtmpCaptionData captionData)
captionData
- Controls the types of data that passes to onCaptionInfo outputs. If set to 'all' then 608 and 708
carried DTVCC data will be passed. If set to 'field1AndField2608' then DTVCC data will be stripped
out, but 608 data from both fields will be passed. If set to 'field1608' then only the data carried in
608 from field 1 video will be passed.RtmpCaptionData
,
RtmpCaptionData
RtmpGroupSettings.Builder inputLossAction(String inputLossAction)
inputLossAction
- Controls the behavior of this RTMP group if input becomes unavailable.
- emitOutput: Emit a slate until input returns. - pauseOutput: Stop transmitting data until input
returns. This does not close the underlying RTMP connection.InputLossActionForRtmpOut
,
InputLossActionForRtmpOut
RtmpGroupSettings.Builder inputLossAction(InputLossActionForRtmpOut inputLossAction)
inputLossAction
- Controls the behavior of this RTMP group if input becomes unavailable.
- emitOutput: Emit a slate until input returns. - pauseOutput: Stop transmitting data until input
returns. This does not close the underlying RTMP connection.InputLossActionForRtmpOut
,
InputLossActionForRtmpOut
RtmpGroupSettings.Builder restartDelay(Integer restartDelay)
restartDelay
- If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0
means never restart.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.