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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHlsInputSettingsstatic final classAn implementation forHlsInputSettings -
Method Summary
Modifier and TypeMethodDescriptionstatic HlsInputSettings.Builderbuilder()default Bitrate(experimental) The bandwidth to select from the HLS manifest.default Number(experimental) When specified, reading of the HLS input begins this many buffer segments from the end (most recently written segment).default Number(experimental) Number of consecutive read failures before the input is considered unavailable.default Duration(experimental) The interval between retry attempts.default HlsScte35Source(experimental) The source MediaLive ingests SCTE-35 messages from — the content segments or the manifest.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
(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
(experimental) Number of consecutive read failures before the input is considered unavailable.Default: - service default
-
getRetryInterval
(experimental) The interval between retry attempts.Default: - service default
-
getScte35Source
(experimental) The source MediaLive ingests SCTE-35 messages from — the content segments or the manifest.Default: - service default
-
builder
- Returns:
- a
HlsInputSettings.BuilderofHlsInputSettings
-