Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
SrtOutputDefinition Struct
Output definition for an SRT output group.
outputName is normalised (underscores → hyphens) for use as the destination reference ID.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
import * as cdk from 'aws-cdk-lib';
declare const encodeConfiguration: medialive_alpha.EncodeConfiguration;
declare const m2tsSettings: medialive_alpha.M2tsSettings;
declare const srtDestination: medialive_alpha.SrtDestination;
declare const srtEncryptionType: medialive_alpha.SrtEncryptionType;
const srtOutputDefinition: medialive_alpha.SrtOutputDefinition = {
destinations: [srtDestination],
encodes: [encodeConfiguration],
outputName: 'outputName',
// the properties below are optional
buffer: cdk.Duration.minutes(30),
encryptionType: srtEncryptionType,
latency: cdk.Duration.minutes(30),
m2tsSettings: m2tsSettings,
};
Properties
The output buffering.
Applied at millisecond granularity.
destinationsSrtDestination[]destinationstyping.List[SrtDestination]destinationsList<SrtDestination>DestinationsSrtDestination[]Destinations*[]SrtDestinationrequired#The SRT destination(s) for this output — one per channel pipeline.
notes
MediaLive publishes each SRT output to one destination per pipeline (the console calls these "Destination A" and "Destination B"). Provide a single destination for a SINGLE_PIPELINE channel, or two (A then B) for a STANDARD channel. Each pipeline can target a different listener and carry its own encryption passphrase.
encodesEncodeConfiguration[]encodestyping.List[EncodeConfiguration]encodesList<EncodeConfiguration>EncodesEncodeConfiguration[]Encodes*[]EncodeConfigurationrequired#The encode configurations to wire to this output.
encryptionTypeSrtEncryptionTypeencryption_typeSrtEncryptionTypeencryptionTypeSrtEncryptionTypeEncryptionTypeSrtEncryptionTypeEncryptionTypeSrtEncryptionType= no encryption#The encryption type for the SRT output.
The SRT latency.
m2tsSettingsM2tsSettingsm2ts_settingsM2tsSettingsm2tsSettingsM2tsSettingsM2tsSettingsM2tsSettingsM2tsSettingsM2tsSettings= service defaults#MPEG-TS (M2TS) container settings for this output.
The name of this output.
Must be unique across all outputs in the channel.