# SrtListenerSettingsProperty

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.

- Source: Generated at build time
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `decryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.SrtListenerDecryptionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.SrtListenerDecryptionProperty.html) — The decryption settings for the SRT listener source.

  Present only if the source has decryption enabled.

- `minimumLatency`: number — The preferred latency (in milliseconds) for implementing packet loss and recovery.

  Packet recovery is a key feature of SRT.

- `streamId`: string — The stream ID, if the upstream system uses this identifier.
