interface SourceSrtListener
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.SourceSrtListener |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#SourceSrtListener |
Java | software.amazon.awscdk.services.mediaconnect.alpha.SourceSrtListener |
Python | aws_cdk.aws_mediaconnect_alpha.SourceSrtListener |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป SourceSrtListener |
Implements
Source
Configuration for SRT Listener.
Example
declare const stack: Stack;
const flow = new Flow(stack, 'MyFlow', {
source: SourceConfiguration.srtListener({
flowSourceName: 'live-encoder-source',
description: 'Live encoder feed',
port: 5000,
minLatency: Duration.millis(2000),
network: NetworkConfiguration.publicNetwork('203.0.113.0/24'),
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| network | Network | Defines networking configuration. |
| port | number | The port that the flow listens on for incoming content. |
| decryption? | Srt | SRT Decryption options. |
| description? | string | A description of the source. |
| flow | string | The name of the source. |
| max | Bitrate | The maximum bitrate for streams. |
| min | Duration | The minimum latency in milliseconds for SRT-based streams. |
network
Type:
Network
Defines networking configuration.
port
Type:
number
The port that the flow listens on for incoming content.
Valid range: 1024โ65535. Ports 2077 and 2088 are reserved by MediaConnect for Zixi traffic and cannot be used for SRT Listener.
decryption?
Type:
Srt
(optional, default: no decryption)
SRT Decryption options.
description?
Type:
string
(optional, default: no description)
A description of the source.
This description appears only on the MediaConnect console and will not be seen by the end user.
flowSourceName?
Type:
string
(optional, default: a name is generated automatically)
The name of the source.
maxBitrate?
Type:
Bitrate
(optional, default: no maximum bitrate)
The maximum bitrate for streams.
minLatency?
Type:
Duration
(optional, default: no minimum latency)
The minimum latency in milliseconds for SRT-based streams.
The value you set on your MediaConnect source represents the minimal potential latency of that connection. The latency of the stream is set to the higher of the sender's minimum latency and the receiver's minimum latency.

.NET
Go
Java
Python
TypeScript (