Skip to content
v2.275.0

Experimental

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

SourceSrtListener Struct ​

Configuration for SRT Listener.

Example ​

ts
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 ​

decryptionoptionalSrtPasswordEncryptiondecryptionoptionalSrtPasswordEncryptiondecryptionoptionalSrtPasswordEncryptionDecryptionoptionalSrtPasswordEncryptionDecryptionoptionalSrtPasswordEncryption#
SRT Decryption options.

Default: no decryption

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description of the source.

Default: no description

This description appears only on the MediaConnect console and will not be seen by the end user.

flowSourceNameoptionalstringflow_source_nameoptionalstrflowSourceNameoptionalStringFlowSourceNameoptionalstringFlowSourceNameoptional*string#
The name of the source.

Default: a name is generated automatically

maxBitrateoptionalBitratemax_bitrateoptionalBitratemaxBitrateoptionalBitrateMaxBitrateoptionalBitrateMaxBitrateoptionalBitrate#
The maximum bitrate for streams.

Default: no maximum bitrate

minLatencyoptionalDurationmin_latencyoptionalDurationminLatencyoptionalDurationMinLatencyoptionalDurationMinLatencyoptionalDuration#
The minimum latency in milliseconds for SRT-based streams.

Default: no minimum latency

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.

Defines networking configuration.
portnumberportint | floatportNumberPortdoublePort*float64required#
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.