Interface TimecodeConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TimecodeConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.387Z")
@Stability(Experimental)
public interface TimecodeConfig
extends software.amazon.jsii.JsiiSerializable
(experimental) Timecode configuration for the channel.
Example:
Stack stack;
IInput input;
IBucket bucket;
EncodeConfiguration video;
EncodeConfiguration audio;
Channel.Builder.create(stack, "Channel")
.inputs(List.of(InputAttachment.builder().input(input).build()))
.timecodeConfig(TimecodeConfig.builder()
.source(TimecodeSource.EMBEDDED)
.build())
.globalConfiguration(GlobalConfiguration.builder()
.outputLocking(OutputLocking.epoch())
.outputTimingSource(OutputTimingSource.INPUT_CLOCK)
.build())
.outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
.name("hls")
.destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
.outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video, audio)).outputName("hls_out").build()))
.build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTimecodeConfigstatic final classAn implementation forTimecodeConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic TimecodeConfig.Builderbuilder()default TimecodeSource(experimental) The source of timecode.default Number(experimental) The threshold in frames beyond which output timecode is resynchronized to the input timecode.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSource
(experimental) The source of timecode.Default: TimecodeSource.EMBEDDED
-
getSyncThreshold
(experimental) The threshold in frames beyond which output timecode is resynchronized to the input timecode.Default: - no sync threshold
-
builder
- Returns:
- a
TimecodeConfig.BuilderofTimecodeConfig
-