interface HlsInputSettings
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.HlsInputSettings |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#HlsInputSettings |
Java | software.amazon.awscdk.services.medialive.alpha.HlsInputSettings |
Python | aws_cdk.aws_medialive_alpha.HlsInputSettings |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป HlsInputSettings |
HLS input settings for URL pull inputs.
Example
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{
input,
networkInputSettings: {
serverValidation: medialive.ServerValidation.CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME,
hlsInputSettings: {
bandwidth: Bitrate.mbps(5),
scte35Source: medialive.HlsScte35Source.MANIFEST,
},
},
logicalInterfaceNames: ['eth0', 'eth1'],
}],
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Properties
| Name | Type | Description |
|---|---|---|
| bandwidth? | Bitrate | The bandwidth to select from the HLS manifest. |
| buffer | number | When specified, reading of the HLS input begins this many buffer segments from the end (most recently written segment). |
| retries? | number | Number of consecutive read failures before the input is considered unavailable. |
| retry | Duration | The interval between retry attempts. |
| scte35 | Hls | The source MediaLive ingests SCTE-35 messages from โ the content segments or the manifest. |
bandwidth?
Type:
Bitrate
(optional, default: highest bandwidth)
The bandwidth to select from the HLS manifest.
MediaLive chooses the rendition whose manifest bandwidth most closely matches this value.
bufferSegments?
Type:
number
(optional, default: the HLS input begins with the first segment specified in the m3u8)
When specified, reading of the HLS input begins this many buffer segments from the end (most recently written segment).
retries?
Type:
number
(optional, default: service default)
Number of consecutive read failures before the input is considered unavailable.
retryInterval?
Type:
Duration
(optional, default: service default)
The interval between retry attempts.
scte35Source?
Type:
Hls
(optional, default: service default)
The source MediaLive ingests SCTE-35 messages from โ the content segments or the manifest.

.NET
Go
Java
Python
TypeScript (