@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RtmpGroupSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
RtmpGroupSettings() |
Modifier and Type | Method and Description |
---|---|
RtmpGroupSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationScheme()
Authentication scheme to use when connecting with CDN
|
String |
getCacheFullBehavior()
Controls behavior when content cache fills up.
|
Integer |
getCacheLength()
Cache length, in seconds, is used to calculate buffer size.
|
String |
getCaptionData()
Controls the types of data that passes to onCaptionInfo outputs.
|
String |
getInputLossAction()
Controls the behavior of this RTMP group if input becomes unavailable.
|
Integer |
getRestartDelay()
If a streaming output fails, number of seconds to wait until a restart is initiated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthenticationScheme(String authenticationScheme)
Authentication scheme to use when connecting with CDN
|
void |
setCacheFullBehavior(String cacheFullBehavior)
Controls behavior when content cache fills up.
|
void |
setCacheLength(Integer cacheLength)
Cache length, in seconds, is used to calculate buffer size.
|
void |
setCaptionData(String captionData)
Controls the types of data that passes to onCaptionInfo outputs.
|
void |
setInputLossAction(String inputLossAction)
Controls the behavior of this RTMP group if input becomes unavailable.
|
void |
setRestartDelay(Integer restartDelay)
If a streaming output fails, number of seconds to wait until a restart is initiated.
|
String |
toString()
Returns a string representation of this object.
|
RtmpGroupSettings |
withAuthenticationScheme(AuthenticationScheme authenticationScheme)
Authentication scheme to use when connecting with CDN
|
RtmpGroupSettings |
withAuthenticationScheme(String authenticationScheme)
Authentication scheme to use when connecting with CDN
|
RtmpGroupSettings |
withCacheFullBehavior(RtmpCacheFullBehavior cacheFullBehavior)
Controls behavior when content cache fills up.
|
RtmpGroupSettings |
withCacheFullBehavior(String cacheFullBehavior)
Controls behavior when content cache fills up.
|
RtmpGroupSettings |
withCacheLength(Integer cacheLength)
Cache length, in seconds, is used to calculate buffer size.
|
RtmpGroupSettings |
withCaptionData(RtmpCaptionData captionData)
Controls the types of data that passes to onCaptionInfo outputs.
|
RtmpGroupSettings |
withCaptionData(String captionData)
Controls the types of data that passes to onCaptionInfo outputs.
|
RtmpGroupSettings |
withInputLossAction(InputLossActionForRtmpOut inputLossAction)
Controls the behavior of this RTMP group if input becomes unavailable.
|
RtmpGroupSettings |
withInputLossAction(String inputLossAction)
Controls the behavior of this RTMP group if input becomes unavailable.
|
RtmpGroupSettings |
withRestartDelay(Integer restartDelay)
If a streaming output fails, number of seconds to wait until a restart is initiated.
|
public void setAuthenticationScheme(String authenticationScheme)
authenticationScheme
- Authentication scheme to use when connecting with CDNAuthenticationScheme
public String getAuthenticationScheme()
AuthenticationScheme
public RtmpGroupSettings withAuthenticationScheme(String authenticationScheme)
authenticationScheme
- Authentication scheme to use when connecting with CDNAuthenticationScheme
public RtmpGroupSettings withAuthenticationScheme(AuthenticationScheme authenticationScheme)
authenticationScheme
- Authentication scheme to use when connecting with CDNAuthenticationScheme
public void setCacheFullBehavior(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
public String getCacheFullBehavior()
RtmpCacheFullBehavior
public RtmpGroupSettings withCacheFullBehavior(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
public RtmpGroupSettings withCacheFullBehavior(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
public void setCacheLength(Integer cacheLength)
cacheLength
- Cache length, in seconds, is used to calculate buffer size.public Integer getCacheLength()
public RtmpGroupSettings withCacheLength(Integer cacheLength)
cacheLength
- Cache length, in seconds, is used to calculate buffer size.public void setCaptionData(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
public String getCaptionData()
RtmpCaptionData
public RtmpGroupSettings withCaptionData(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
public RtmpGroupSettings withCaptionData(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
public void setInputLossAction(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
public String getInputLossAction()
InputLossActionForRtmpOut
public RtmpGroupSettings withInputLossAction(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
public RtmpGroupSettings withInputLossAction(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
public void setRestartDelay(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.public Integer getRestartDelay()
public RtmpGroupSettings withRestartDelay(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.public String toString()
toString
in class Object
Object.toString()
public RtmpGroupSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.