Interface SrtOutputDefinition

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, OutputDefinition
All Known Implementing Classes:
SrtOutputDefinition.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.376Z") @Stability(Experimental) public interface SrtOutputDefinition extends software.amazon.jsii.JsiiSerializable, OutputDefinition
(experimental) Output definition for an SRT output group.

outputName is normalised (underscores → hyphens) for use as the destination reference ID.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.medialive.alpha.*;
 import software.amazon.awscdk.*;
 EncodeConfiguration encodeConfiguration;
 M2tsSettings m2tsSettings;
 SrtDestination srtDestination;
 SrtEncryptionType srtEncryptionType;
 SrtOutputDefinition srtOutputDefinition = SrtOutputDefinition.builder()
         .destinations(List.of(srtDestination))
         .encodes(List.of(encodeConfiguration))
         .outputName("outputName")
         // the properties below are optional
         .buffer(Duration.minutes(30))
         .encryptionType(srtEncryptionType)
         .latency(Duration.minutes(30))
         .m2tsSettings(m2tsSettings)
         .build();
 
  • Method Details

    • getDestinations

      @Stability(Experimental) @NotNull List<SrtDestination> getDestinations()
      (experimental) The SRT destination(s) for this output — one per channel pipeline.

      MediaLive publishes each SRT output to one destination per pipeline (the console calls these "Destination A" and "Destination B"). Provide a single destination for a SINGLE_PIPELINE channel, or two (A then B) for a STANDARD channel. Each pipeline can target a different listener and carry its own encryption passphrase.

    • getBuffer

      @Stability(Experimental) @Nullable default Duration getBuffer()
      (experimental) The output buffering.

      Applied at millisecond granularity.

      Default: - service default

    • getEncryptionType

      @Stability(Experimental) @Nullable default SrtEncryptionType getEncryptionType()
      (experimental) The encryption type for the SRT output.

      Default: - no encryption

    • getLatency

      @Stability(Experimental) @Nullable default Duration getLatency()
      (experimental) The SRT latency.

      Default: - service default

    • getM2tsSettings

      @Stability(Experimental) @Nullable default M2tsSettings getM2tsSettings()
      (experimental) MPEG-TS (M2TS) container settings for this output.

      Default: - service defaults

    • builder

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