Interface HlsManifest.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HlsManifest.Builder,HlsManifest>, SdkBuilder<HlsManifest.Builder,HlsManifest>, SdkPojo
Enclosing class:
HlsManifest

public static interface HlsManifest.Builder extends SdkPojo, CopyableBuilder<HlsManifest.Builder,HlsManifest>
  • Method Details

    • adMarkers

      HlsManifest.Builder adMarkers(String adMarkers)
      This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source.
      Parameters:
      adMarkers - This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • adMarkers

      HlsManifest.Builder adMarkers(AdMarkers adMarkers)
      This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source.
      Parameters:
      adMarkers - This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • includeIframeOnlyStream

      HlsManifest.Builder includeIframeOnlyStream(Boolean includeIframeOnlyStream)
      When enabled, an I-Frame only stream will be included in the output.
      Parameters:
      includeIframeOnlyStream - When enabled, an I-Frame only stream will be included in the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manifestName

      HlsManifest.Builder manifestName(String manifestName)
      An optional string to include in the name of the manifest.
      Parameters:
      manifestName - An optional string to include in the name of the manifest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • programDateTimeIntervalSeconds

      HlsManifest.Builder programDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds)
      The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
      Parameters:
      programDateTimeIntervalSeconds - The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repeatExtXKey

      HlsManifest.Builder repeatExtXKey(Boolean repeatExtXKey)
      When enabled, the EXT-X-KEY tag will be repeated in output manifests.
      Parameters:
      repeatExtXKey - When enabled, the EXT-X-KEY tag will be repeated in output manifests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamSelection

      HlsManifest.Builder streamSelection(StreamSelection streamSelection)
      Sets the value of the StreamSelection property for this object.
      Parameters:
      streamSelection - The new value for the StreamSelection property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamSelection

      default HlsManifest.Builder streamSelection(Consumer<StreamSelection.Builder> streamSelection)
      Sets the value of the StreamSelection property for this object. This is a convenience method that creates an instance of the StreamSelection.Builder avoiding the need to create one manually via StreamSelection.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to streamSelection(StreamSelection).

      Parameters:
      streamSelection - a consumer that will call methods on StreamSelection.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: