Skip to content

/AWS1/CL_MD2INPUTSWITCHCONF

The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_mqcsinputswitching TYPE /AWS1/MD2BOOLEAN /AWS1/MD2BOOLEAN

When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when InputType is CMAF.

iv_preferredinput TYPE /AWS1/MD2INTEGER /AWS1/MD2INTEGER

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.


Queryable Attributes

MQCSInputSwitching

When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when InputType is CMAF.

Accessible with the following methods

Method Description
GET_MQCSINPUTSWITCHING() Getter for MQCSINPUTSWITCHING, with configurable default
ASK_MQCSINPUTSWITCHING() Getter for MQCSINPUTSWITCHING w/ exceptions if field has no
HAS_MQCSINPUTSWITCHING() Determine if MQCSINPUTSWITCHING has a value

PreferredInput

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.

Accessible with the following methods

Method Description
GET_PREFERREDINPUT() Getter for PREFERREDINPUT, with configurable default
ASK_PREFERREDINPUT() Getter for PREFERREDINPUT w/ exceptions if field has no valu
HAS_PREFERREDINPUT() Determine if PREFERREDINPUT has a value