class SrtDestination
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.SrtDestination |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#SrtDestination |
Java | software.amazon.awscdk.services.medialive.alpha.SrtDestination |
Python | aws_cdk.aws_medialive_alpha.SrtDestination |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป SrtDestination |
A destination for an SRT output group.
Use the static factory methods to create.
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,
})],
}],
});
Initializer
new SrtDestination()
Methods
| Name | Description |
|---|---|
| static caller(props) | Create a caller-mode SRT destination. |
| static caller | Create a caller-mode SRT destination from a full SRT URL. |
| static listener(props) | Create a listener-mode SRT destination. |
static caller(props)
public static caller(props: SrtCallerDestinationProps): SrtDestination
Parameters
Returns
Create a caller-mode SRT destination.
MediaLive connects to the remote listener.
static callerUrl(url, options)
public static callerUrl(url: string, options: SrtCallerUrlOptions): SrtDestination
Parameters
- url
string - options
SrtCaller Url Options
Returns
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).
static listener(props)
public static listener(props: SrtListenerDestinationProps): SrtDestination
Parameters
Returns
Create a listener-mode SRT destination.
MediaLive listens for incoming connections.

.NET
Go
Java
Python
TypeScript (