@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) |
List<String> |
getAdMarkers()
Choose the ad marker type for this output group.
|
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 |
getIncludeFillerNalUnits()
Applies only when the rate control mode (in the codec settings) is CBR (constant bit rate).
|
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 |
setAdMarkers(Collection<String> adMarkers)
Choose the ad marker type for this output group.
|
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 |
setIncludeFillerNalUnits(String includeFillerNalUnits)
Applies only when the rate control mode (in the codec settings) is CBR (constant bit rate).
|
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 |
withAdMarkers(Collection<String> adMarkers)
Choose the ad marker type for this output group.
|
RtmpGroupSettings |
withAdMarkers(RtmpAdMarkers... adMarkers)
Choose the ad marker type for this output group.
|
RtmpGroupSettings |
withAdMarkers(String... adMarkers)
Choose the ad marker type for this output group.
|
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 |
withIncludeFillerNalUnits(IncludeFillerNalUnits includeFillerNalUnits)
Applies only when the rate control mode (in the codec settings) is CBR (constant bit rate).
|
RtmpGroupSettings |
withIncludeFillerNalUnits(String includeFillerNalUnits)
Applies only when the rate control mode (in the codec settings) is CBR (constant bit rate).
|
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 List<String> getAdMarkers()
RtmpAdMarkers
public void setAdMarkers(Collection<String> adMarkers)
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.RtmpAdMarkers
public RtmpGroupSettings withAdMarkers(String... adMarkers)
NOTE: This method appends the values to the existing list (if any). Use
setAdMarkers(java.util.Collection)
or withAdMarkers(java.util.Collection)
if you want to
override the existing values.
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.RtmpAdMarkers
public RtmpGroupSettings withAdMarkers(Collection<String> adMarkers)
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.RtmpAdMarkers
public RtmpGroupSettings withAdMarkers(RtmpAdMarkers... adMarkers)
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.RtmpAdMarkers
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 void setIncludeFillerNalUnits(String includeFillerNalUnits)
includeFillerNalUnits
- Applies only when the rate control mode (in the codec settings) is CBR (constant bit rate). Controls
whether the RTMP output stream is padded (with FILL NAL units) in order to achieve a constant bit rate
that is truly constant. When there is no padding, the bandwidth varies (up to the bitrate value in the
codec settings). We recommend that you choose Auto.IncludeFillerNalUnits
public String getIncludeFillerNalUnits()
IncludeFillerNalUnits
public RtmpGroupSettings withIncludeFillerNalUnits(String includeFillerNalUnits)
includeFillerNalUnits
- Applies only when the rate control mode (in the codec settings) is CBR (constant bit rate). Controls
whether the RTMP output stream is padded (with FILL NAL units) in order to achieve a constant bit rate
that is truly constant. When there is no padding, the bandwidth varies (up to the bitrate value in the
codec settings). We recommend that you choose Auto.IncludeFillerNalUnits
public RtmpGroupSettings withIncludeFillerNalUnits(IncludeFillerNalUnits includeFillerNalUnits)
includeFillerNalUnits
- Applies only when the rate control mode (in the codec settings) is CBR (constant bit rate). Controls
whether the RTMP output stream is padded (with FILL NAL units) in order to achieve a constant bit rate
that is truly constant. When there is no padding, the bandwidth varies (up to the bitrate value in the
codec settings). We recommend that you choose Auto.IncludeFillerNalUnits
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.