Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MergeFailoverOptions Struct
Options for merge-mode source failover.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
import * as cdk from 'aws-cdk-lib';
const mergeFailoverOptions: mediaconnect_alpha.MergeFailoverOptions = {
recoveryWindow: cdk.Duration.minutes(30),
state: mediaconnect_alpha.State.ENABLED,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
import aws_cdk as cdk
merge_failover_options = mediaconnect_alpha.MergeFailoverOptions(
recovery_window=cdk.Duration.minutes(30),
state=mediaconnect_alpha.State.ENABLED
)
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.mediaconnect.alpha.*;
import software.amazon.awscdk.*;
MergeFailoverOptions mergeFailoverOptions = MergeFailoverOptions.builder()
.recoveryWindow(Duration.minutes(30))
.state(State.ENABLED)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
using Amazon.CDK;
var mergeFailoverOptions = new MergeFailoverOptions {
RecoveryWindow = Duration.Minutes(30),
State = State.ENABLED
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"
mergeFailoverOptions := &MergeFailoverOptions{
RecoveryWindow: cdk.Duration_Minutes(jsii.Number(30)),
State: mediaconnect_alpha.State_ENABLED,
}
Properties
recoveryWindowoptionalDurationrecovery_windowoptionalDurationrecoveryWindowoptionalDurationRecoveryWindowoptionalDurationRecoveryWindowoptionalDuration#Search window time to look for SMPTE 2022-7 packets.
Default: 200 ms
A larger recovery window means a longer delay in transmitting the stream, but more room for error correction. A smaller window means a shorter delay but less room for correction.
Valid range: 100–15000 ms.