Skip to content
v2.278.0

SrtListenerSettingsProperty Struct ​

The configuration for a source that uses SRT as the connection protocol.

In terms of establishing the connection, MediaLive is the listener and the upstream system is the caller.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const srtListenerSettingsProperty: medialive.CfnInput.SrtListenerSettingsProperty = {
  decryption: {
    algorithm: 'algorithm',
    passphraseSecretArn: 'passphraseSecretArn',
  },
  minimumLatency: 123,
  streamId: 'streamId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

srt_listener_settings_property = medialive.CfnInput.SrtListenerSettingsProperty(
    decryption=medialive.CfnInput.SrtListenerDecryptionProperty(
        algorithm="algorithm",
        passphrase_secret_arn="passphraseSecretArn"
    ),
    minimum_latency=123,
    stream_id="streamId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;

SrtListenerSettingsProperty srtListenerSettingsProperty = SrtListenerSettingsProperty.builder()
        .decryption(SrtListenerDecryptionProperty.builder()
                .algorithm("algorithm")
                .passphraseSecretArn("passphraseSecretArn")
                .build())
        .minimumLatency(123)
        .streamId("streamId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var srtListenerSettingsProperty = new SrtListenerSettingsProperty {
    Decryption = new SrtListenerDecryptionProperty {
        Algorithm = "algorithm",
        PassphraseSecretArn = "passphraseSecretArn"
    },
    MinimumLatency = 123,
    StreamId = "streamId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

srtListenerSettingsProperty := &SrtListenerSettingsProperty{
	Decryption: &SrtListenerDecryptionProperty{
		Algorithm: jsii.String("algorithm"),
		PassphraseSecretArn: jsii.String("passphraseSecretArn"),
	},
	MinimumLatency: jsii.Number(123),
	StreamId: jsii.String("streamId"),
}

Properties ​

decryptionoptionalIResolvable | CfnInput.SrtListenerDecryptionPropertydecryptionoptionaltyping.Union[IResolvable, SrtListenerDecryptionProperty]decryptionoptionalIResolvableDecryptionoptionalIResolvableDecryptionoptionalinterface{} #
The decryption settings for the SRT listener source.

Present only if the source has decryption enabled.

minimumLatencyoptionalnumberminimum_latencyoptionalint | floatminimumLatencyoptionalNumberMinimumLatencyoptionaldoubleMinimumLatencyoptional*float64 #
The preferred latency (in milliseconds) for implementing packet loss and recovery.

Packet recovery is a key feature of SRT.

streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string #
The stream ID, if the upstream system uses this identifier.