Skip to content
v2.274.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

HlsScte35Source Class ​

The source MediaLive ingests SCTE-35 messages from for an HLS input.

Example ​

ts
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 ​

MANIFESTHlsScte35SourcemanifestHlsScte35SourceMANIFESTHlsScte35SourceMANIFESTHlsScte35SourceMANIFESTHlsScte35Sourcerequiredstatic#
Ingest SCTE-35 from tags in the playlist (the HLS manifest).
SEGMENTSHlsScte35SourcesegmentsHlsScte35SourceSEGMENTSHlsScte35SourceSEGMENTSHlsScte35SourceSEGMENTSHlsScte35Sourcerequiredstatic#
Ingest SCTE-35 from the content segments (in the stream).
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The underlying string value passed to CloudFormation.

Methods ​

of(value: string): HlsScte35Source // chainable@staticmethod def of(value: str) -> HlsScte35Sourcepublic static HlsScte35Source of(String value)public static HlsScte35Source Of(string value)func Of(Value *string) HlsScte35Sourcestatic#
A value not yet modelled by AWS CDK.