Class SrtDestination

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.SrtDestination
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.372Z") @Stability(Experimental) public abstract class SrtDestination extends software.amazon.jsii.JsiiObject
(experimental) A destination for an SRT output group.

Use the static factory methods to create.

Example:

 EncodeConfiguration video;
 EncodeConfiguration audio;
 ISecret passphrase;
 // SRT caller to a remote listener
 OutputGroupConfiguration.srt(SrtOutputGroupProps.builder()
         .name("srt_out")
         .outputs(List.of(SrtOutputDefinition.builder()
                 .encodes(List.of(video, audio))
                 .outputName("srt_caller")
                 .destinations(List.of(SrtDestination.caller(SrtCallerDestinationProps.builder()
                         .address("203.0.113.20")
                         .port(5000)
                         .encryptionPassphraseSecret(passphrase)
                         .build())))
                 .build()))
         .build());
 // SRT listener — MediaLive waits for the downstream system to connect
 OutputGroupConfiguration.srt(SrtOutputGroupProps.builder()
         .name("srt_listen")
         .outputs(List.of(SrtOutputDefinition.builder()
                 .encodes(List.of(video, audio))
                 .outputName("srt_listener")
                 .destinations(List.of(SrtDestination.listener(SrtListenerDestinationProps.builder()
                         .listenerPort(5000)
                         .encryptionPassphraseSecret(passphrase)
                         .build())))
                 .build()))
         .build());
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    SrtDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    SrtDestination(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Create a caller-mode SRT destination.
    (experimental) Create a caller-mode SRT destination from a full SRT URL.
    (experimental) Create a listener-mode SRT destination.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • SrtDestination

      protected SrtDestination(software.amazon.jsii.JsiiObjectRef objRef)
    • SrtDestination

      protected SrtDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • SrtDestination

      @Stability(Experimental) protected SrtDestination()
  • Method Details

    • caller

      @Stability(Experimental) @NotNull public static SrtDestination caller(@NotNull SrtCallerDestinationProps props)
      (experimental) Create a caller-mode SRT destination.

      MediaLive connects to the remote listener.

      Parameters:
      props - This parameter is required.
    • callerUrl

      @Stability(Experimental) @NotNull public static SrtDestination callerUrl(@NotNull String url, @NotNull SrtCallerUrlOptions options)
      (experimental) Create a caller-mode SRT destination from a full SRT URL.

      Use this when you already have a URL rather than a separate host and port — for example a MediaConnect Router Input's ingest endpoint (routerInput.endpoints[0].url).

      Parameters:
      url - This parameter is required.
      options - This parameter is required.
    • listener

      @Stability(Experimental) @NotNull public static SrtDestination listener(@NotNull SrtListenerDestinationProps props)
      (experimental) Create a listener-mode SRT destination.

      MediaLive listens for incoming connections.

      Parameters:
      props - This parameter is required.