interface TimecodeConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.TimecodeConfig |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#TimecodeConfig |
Java | software.amazon.awscdk.services.medialive.alpha.TimecodeConfig |
Python | aws_cdk.aws_medialive_alpha.TimecodeConfig |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป TimecodeConfig |
Timecode configuration for the 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 |
|---|---|---|
| source? | Timecode | The source of timecode. |
| sync | number | The threshold in frames beyond which output timecode is resynchronized to the input timecode. |
source?
Type:
Timecode
(optional, default: TimecodeSource.EMBEDDED)
The source of timecode.
syncThreshold?
Type:
number
(optional, default: no sync threshold)
The threshold in frames beyond which output timecode is resynchronized to the input timecode.

.NET
Go
Java
Python
TypeScript (