Interface HlsInputSettings

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
HlsInputSettings.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.128Z") @Stability(Experimental) public interface HlsInputSettings extends software.amazon.jsii.JsiiSerializable
(experimental) HLS input settings for URL pull inputs.

Example:

 Stack stack;
 IInput input;
 IBucket bucket;
 EncodeConfiguration video;
 Channel.Builder.create(stack, "Channel")
         .inputs(List.of(InputAttachment.builder()
                 .input(input)
                 .networkInputSettings(NetworkInputSettings.builder()
                         .serverValidation(ServerValidation.CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME)
                         .hlsInputSettings(HlsInputSettings.builder()
                                 .bandwidth(Bitrate.mbps(5))
                                 .scte35Source(HlsScte35Source.MANIFEST)
                                 .build())
                         .build())
                 .logicalInterfaceNames(List.of("eth0", "eth1"))
                 .build()))
         .outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
                 .name("hls")
                 .destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
                 .outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video)).outputName("hls_out").build()))
                 .build())))
         .build();
 
  • Method Details

    • getBandwidth

      @Stability(Experimental) @Nullable default Bitrate getBandwidth()
      (experimental) The bandwidth to select from the HLS manifest.

      MediaLive chooses the rendition whose manifest bandwidth most closely matches this value.

      Default: - highest bandwidth

    • getBufferSegments

      @Stability(Experimental) @Nullable default Number getBufferSegments()
      (experimental) When specified, reading of the HLS input begins this many buffer segments from the end (most recently written segment).

      Default: - the HLS input begins with the first segment specified in the m3u8

    • getRetries

      @Stability(Experimental) @Nullable default Number getRetries()
      (experimental) Number of consecutive read failures before the input is considered unavailable.

      Default: - service default

    • getRetryInterval

      @Stability(Experimental) @Nullable default Duration getRetryInterval()
      (experimental) The interval between retry attempts.

      Default: - service default

    • getScte35Source

      @Stability(Experimental) @Nullable default HlsScte35Source getScte35Source()
      (experimental) The source MediaLive ingests SCTE-35 messages from — the content segments or the manifest.

      Default: - service default

    • builder

      @Stability(Experimental) static HlsInputSettings.Builder builder()
      Returns:
      a HlsInputSettings.Builder of HlsInputSettings