interface GlobalConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.GlobalConfiguration |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#GlobalConfiguration |
Java | software.amazon.awscdk.services.medialive.alpha.GlobalConfiguration |
Python | aws_cdk.aws_medialive_alpha.GlobalConfiguration |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป GlobalConfiguration |
Global configuration settings that apply to the entire channel.
Example
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{ input }],
timecodeConfig: {
source: medialive.TimecodeSource.EMBEDDED,
},
globalConfiguration: {
outputLocking: medialive.OutputLocking.epoch(),
outputTimingSource: medialive.OutputTimingSource.INPUT_CLOCK,
},
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video, audio], outputName: 'hls_out' }],
}),
],
});
Properties
| Name | Type | Description |
|---|---|---|
| initial | number | The initial audio gain for the channel (-60 to 60 dB). |
| input | Input | Action to take when the current input completes. |
| input | Input | Behavior on input loss (substitute black / repeat frame, then a color or slate image). |
| output | Output | How MediaLive pipelines are synchronised โ OutputLocking.pipeline(), OutputLocking.epoch(), or OutputLocking.disabled(). |
| output | Output | Source of output timing. |
| support | boolean | Enable support for low framerate inputs (e.g. music channels with less than 1 fps). |
initialAudioGain?
Type:
number
(optional, default: service default)
The initial audio gain for the channel (-60 to 60 dB).
inputEndAction?
Type:
Input
(optional, default: service default)
Action to take when the current input completes.
inputLossBehavior?
Type:
Input
(optional, default: service default)
Behavior on input loss (substitute black / repeat frame, then a color or slate image).
outputLocking?
Type:
Output
(optional, default: service default)
How MediaLive pipelines are synchronised โ OutputLocking.pipeline(), OutputLocking.epoch(), or OutputLocking.disabled().
See also: https://docs.aws.amazon.com/medialive/latest/ug/pipeline-lock.html
outputTimingSource?
Type:
Output
(optional, default: service default)
Source of output timing.
supportLowFramerateInputs?
Type:
boolean
(optional, default: false)
Enable support for low framerate inputs (e.g. music channels with less than 1 fps).

.NET
Go
Java
Python
TypeScript (