Interface HlsInputSettings.Builder

  • Method Details

    • bandwidth

      HlsInputSettings.Builder bandwidth(Integer bandwidth)
      When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.
      Parameters:
      bandwidth - When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bufferSegments

      HlsInputSettings.Builder bufferSegments(Integer bufferSegments)
      When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.
      Parameters:
      bufferSegments - When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retries

      The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.
      Parameters:
      retries - The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retryInterval

      HlsInputSettings.Builder retryInterval(Integer retryInterval)
      The number of seconds between retries when an attempt to read a manifest or segment fails.
      Parameters:
      retryInterval - The number of seconds between retries when an attempt to read a manifest or segment fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scte35Source

      HlsInputSettings.Builder scte35Source(String scte35Source)
      Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
      Parameters:
      scte35Source - Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35Source

      HlsInputSettings.Builder scte35Source(HlsScte35SourceType scte35Source)
      Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
      Parameters:
      scte35Source - Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: