Skip to content
v2.274.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

SrtCallerDestinationProps Struct ​

SRT caller destination properties.

Example ​

ts
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;
declare const passphrase: secretsmanager.ISecret;

// SRT caller to a remote listener
medialive.OutputGroupConfiguration.srt({
  name: 'srt_out',
  outputs: [{
    encodes: [video, audio],
    outputName: 'srt_caller',
    destinations: [medialive.SrtDestination.caller({
      address: '203.0.113.20',
      port: 5000,
      encryptionPassphraseSecret: passphrase,
    })],
  }],
});

// SRT listener — MediaLive waits for the downstream system to connect
medialive.OutputGroupConfiguration.srt({
  name: 'srt_listen',
  outputs: [{
    encodes: [video, audio],
    outputName: 'srt_listener',
    destinations: [medialive.SrtDestination.listener({
      listenerPort: 5000,
      encryptionPassphraseSecret: passphrase,
    })],
  }],
});

Properties ​

addressstringaddressstraddressStringAddressstringAddress*stringrequired#
The address (IP or host) of the SRT listener to connect to.
encryptionPassphraseSecretISecretencryption_passphrase_secretISecretencryptionPassphraseSecretISecretEncryptionPassphraseSecretISecretEncryptionPassphraseSecretISecretrequired#
The Secrets Manager secret containing the encryption passphrase.

[disable-awslint:prefer-ref-interface]

portnumberportint | floatportNumberPortdoublePort*float64required#
The port of the SRT listener to connect to.
streamIdstringstream_idstrstreamIdStringStreamIdstringStreamId*string#
The stream ID for the SRT connection.

Default: no stream ID