interface InputSwitchConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaPackageV2.Mixins.CfnChannelPropsMixin.InputSwitchConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediapackagev2/mixins#CfnChannelPropsMixin_InputSwitchConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediapackagev2.mixins.CfnChannelPropsMixin.InputSwitchConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_mediapackagev2.mixins.CfnChannelPropsMixin.InputSwitchConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediapackagev2 » mixins » CfnChannelPropsMixin » 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 { mixins as mediapackagev2_mixins } from '@aws-cdk/mixins-preview/aws-mediapackagev2';
const inputSwitchConfigurationProperty: mediapackagev2_mixins.CfnChannelPropsMixin.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