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();
 
  • Method Details

    • getSource

      @Stability(Experimental) @Nullable default TimecodeSource getSource()
      (experimental) The source of timecode.

      Default: TimecodeSource.EMBEDDED

    • getSyncThreshold

      @Stability(Experimental) @Nullable default Number getSyncThreshold()
      (experimental) The threshold in frames beyond which output timecode is resynchronized to the input timecode.

      Default: - no sync threshold

    • builder

      @Stability(Experimental) static TimecodeConfig.Builder builder()
      Returns:
      a TimecodeConfig.Builder of TimecodeConfig