Interface RtmpGroupSettings.Builder

  • Method Details

    • adMarkersWithStrings

      RtmpGroupSettings.Builder adMarkersWithStrings(Collection<String> 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adMarkersWithStrings

      RtmpGroupSettings.Builder adMarkersWithStrings(String... 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • adMarkers

      RtmpGroupSettings.Builder adMarkers(RtmpAdMarkers... 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authenticationScheme

      RtmpGroupSettings.Builder authenticationScheme(String authenticationScheme)
      Authentication scheme to use when connecting with CDN
      Parameters:
      authenticationScheme - Authentication scheme to use when connecting with CDN
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authenticationScheme

      RtmpGroupSettings.Builder authenticationScheme(AuthenticationScheme authenticationScheme)
      Authentication scheme to use when connecting with CDN
      Parameters:
      authenticationScheme - Authentication scheme to use when connecting with CDN
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cacheFullBehavior

      RtmpGroupSettings.Builder cacheFullBehavior(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cacheFullBehavior

      RtmpGroupSettings.Builder cacheFullBehavior(RtmpCacheFullBehavior 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cacheLength

      RtmpGroupSettings.Builder cacheLength(Integer cacheLength)
      Cache length, in seconds, is used to calculate buffer size.
      Parameters:
      cacheLength - Cache length, in seconds, is used to calculate buffer size.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionData

      RtmpGroupSettings.Builder captionData(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • captionData

      RtmpGroupSettings.Builder captionData(RtmpCaptionData 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputLossAction

      RtmpGroupSettings.Builder inputLossAction(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputLossAction

      RtmpGroupSettings.Builder inputLossAction(InputLossActionForRtmpOut 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • restartDelay

      RtmpGroupSettings.Builder restartDelay(Integer restartDelay)
      If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
      Parameters:
      restartDelay - If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeFillerNalUnits

      RtmpGroupSettings.Builder includeFillerNalUnits(String 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • includeFillerNalUnits

      RtmpGroupSettings.Builder 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.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: