SrtCallerSourceProperty Struct
The configuration for a source that uses SRT as the connection protocol.
In terms of establishing the connection, MediaLive is always caller and the upstream system is always the listener. In terms of transmission of the source content, MediaLive is always the receiver and the upstream system is always the sender.
| Source | |
|---|---|
| Type last changed |
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 srtCallerSourceProperty: medialive.CfnInput.SrtCallerSourceProperty = {
decryption: {
algorithm: 'algorithm',
passphraseSecretArn: 'passphraseSecretArn',
},
minimumLatency: 123,
srtListenerAddress: 'srtListenerAddress',
srtListenerPort: 'srtListenerPort',
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_caller_source_property = medialive.CfnInput.SrtCallerSourceProperty(
decryption=medialive.CfnInput.SrtCallerDecryptionProperty(
algorithm="algorithm",
passphrase_secret_arn="passphraseSecretArn"
),
minimum_latency=123,
srt_listener_address="srtListenerAddress",
srt_listener_port="srtListenerPort",
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.*;
SrtCallerSourceProperty srtCallerSourceProperty = SrtCallerSourceProperty.builder()
.decryption(SrtCallerDecryptionProperty.builder()
.algorithm("algorithm")
.passphraseSecretArn("passphraseSecretArn")
.build())
.minimumLatency(123)
.srtListenerAddress("srtListenerAddress")
.srtListenerPort("srtListenerPort")
.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 srtCallerSourceProperty = new SrtCallerSourceProperty {
Decryption = new SrtCallerDecryptionProperty {
Algorithm = "algorithm",
PassphraseSecretArn = "passphraseSecretArn"
},
MinimumLatency = 123,
SrtListenerAddress = "srtListenerAddress",
SrtListenerPort = "srtListenerPort",
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"
srtCallerSourceProperty := &SrtCallerSourceProperty{
Decryption: &SrtCallerDecryptionProperty{
Algorithm: jsii.String("algorithm"),
PassphraseSecretArn: jsii.String("passphraseSecretArn"),
},
MinimumLatency: jsii.Number(123),
SrtListenerAddress: jsii.String("srtListenerAddress"),
SrtListenerPort: jsii.String("srtListenerPort"),
StreamId: jsii.String("streamId"),
}
Properties
decryptionoptionalIResolvable | CfnInput.decryptionoptionaltyping.Union[IResolvable, SrtCallerDecryptionProperty]decryptionoptionalIResolvableDecryptionoptionalIResolvableDecryptionoptionalinterface{} #The decryption settings for the SRT caller 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.
srtListenerAddressoptionalstringsrt_listener_addressoptionalstrsrtListenerAddressoptionalStringSrtListenerAddressoptionalstringSrtListenerAddressoptional*string #The IP address at the upstream system (the listener) that MediaLive (the caller) connects to.
srtListenerPortoptionalstringsrt_listener_portoptionalstrsrtListenerPortoptionalStringSrtListenerPortoptionalstringSrtListenerPortoptional*string #The port at the upstream system (the listener) that MediaLive (the caller) connects to.
streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string #The stream ID, if the upstream system uses this identifier.