Skip to content

InputSwitchConfiguration

Source code in docs_src/capo_mediapackagev2/types/input_switch_configuration.py
class InputSwitchConfiguration(TypedDict, closed=True):
    mqcs_input_switching: NotRequired["bool"]
    """<p>When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is false. This setting is valid only when <code>InputType</code> is <code>CMAF</code>.</p>"""
    preferred_input: NotRequired["int"]
    """<p>For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores. Select <code>1</code> to prefer the first ingest endpoint, or <code>2</code> 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.</p>"""

mqcs_input_switching instance-attribute

mqcs_input_switching: NotRequired[bool]

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

preferred_input instance-attribute

preferred_input: NotRequired[int]

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.