interface InputSwitchConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_mediapackagev2.CfnChannel.InputSwitchConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediapackagev2#CfnChannel_InputSwitchConfigurationProperty |
Java | software.amazon.awscdk.services.mediapackagev2.CfnChannel.InputSwitchConfigurationProperty |
Python | aws_cdk.aws_mediapackagev2.CfnChannel.InputSwitchConfigurationProperty |
TypeScript | aws-cdk-lib » aws_mediapackagev2 » CfnChannel » InputSwitchConfigurationProperty |
The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackagev2 as mediapackagev2 } from 'aws-cdk-lib';
const inputSwitchConfigurationProperty: mediapackagev2.CfnChannel.InputSwitchConfigurationProperty = {
mqcsInputSwitching: false,
preferredInput: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| mqcs | boolean | IResolvable | When true, AWS Elemental MediaPackage performs input switching based on the MQCS. |
| preferred | number | For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores. |
mqcsInputSwitching?
Type:
boolean | IResolvable
(optional)
When true, AWS Elemental MediaPackage performs input switching based on the MQCS.
Default is false. This setting is valid only when InputType is CMAF .
preferredInput?
Type:
number
(optional)
For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores.
Select 1 to prefer the first ingest endpoint, or 2 to prefer the second ingest endpoint. If you don't specify a preferred input, MediaPackage uses its default switching behavior when MQCS scores are equal.

.NET
Go
Java
Python
TypeScript