interface SrtListenerDestinationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.SrtListenerDestinationProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#SrtListenerDestinationProps |
Java | software.amazon.awscdk.services.medialive.alpha.SrtListenerDestinationProps |
Python | aws_cdk.aws_medialive_alpha.SrtListenerDestinationProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป SrtListenerDestinationProps |
SRT listener destination properties.
In listener mode, MediaLive opens a socket on listenerPort and waits for the downstream
system to connect. The downstream system needs the channel's outbound IP and this port โ
AWS does not require (or use) a destination URL in listener mode.
Example
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
| Name | Type | Description |
|---|---|---|
| encryption | ISecret | The Secrets Manager secret containing the encryption passphrase. |
| listener | number | The port that MediaLive will listen on. |
| stream | string | The stream ID for the SRT connection. |
encryptionPassphraseSecret
Type:
ISecret
The Secrets Manager secret containing the encryption passphrase.
[disable-awslint:prefer-ref-interface]
listenerPort
Type:
number
The port that MediaLive will listen on.
AWS reserves the range 5000โ5200 for SRT listener output.
streamId?
Type:
string
(optional, default: no stream ID)
The stream ID for the SRT connection.

.NET
Go
Java
Python
TypeScript (