class TimecodeSource
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.TimecodeSource |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#TimecodeSource |
Java | software.amazon.awscdk.services.medialive.alpha.TimecodeSource |
Python | aws_cdk.aws_medialive_alpha.TimecodeSource |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป TimecodeSource |
The source of timecode for the channel outputs.
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 |
|---|---|---|
| value | string | The underlying string value passed to CloudFormation. |
| static EMBEDDED | Timecode | Use embedded timecode from the source. |
| static SYSTEMCLOCK | Timecode | Use the system clock (UTC). |
| static ZEROBASED | Timecode | Start at 00:00:00:00. |
value
Type:
string
The underlying string value passed to CloudFormation.
static EMBEDDED
Type:
Timecode
Use embedded timecode from the source.
Falls back to zero-based if not detected.
static SYSTEMCLOCK
Type:
Timecode
Use the system clock (UTC).
static ZEROBASED
Type:
Timecode
Start at 00:00:00:00.
Methods
| Name | Description |
|---|---|
| static of(value) | A value not yet modelled by AWS CDK. |
static of(value)
public static of(value: string): TimecodeSource
Parameters
- value
string
Returns
A value not yet modelled by AWS CDK.

.NET
Go
Java
Python
TypeScript (