Interface InputSwitchConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InputSwitchConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T09:32:03.719Z")
@Stability(Experimental)
public interface InputSwitchConfiguration
extends software.amazon.jsii.JsiiSerializable
(experimental) Input Switch Configuration.
Example:
Stack stack;
ChannelGroup group;
Channel hlsChannel = Channel.Builder.create(stack, "HlsChannel")
.channelGroup(group)
.input(InputConfiguration.hls())
.build();
Channel cmafChannel = Channel.Builder.create(stack, "CmafChannel")
.channelGroup(group)
.input(InputConfiguration.cmaf(CmafInputProps.builder()
.inputSwitchConfiguration(InputSwitchConfiguration.builder()
.mqcsInputSwitching(true)
.build())
.outputHeaders(List.of(HeadersCMSD.MQCS))
.build()))
.build();
Channel simpleCmafChannel = Channel.Builder.create(stack, "SimpleCmafChannel")
.channelGroup(group)
.input(InputConfiguration.cmaf(CmafInputProps.builder()
.outputHeaders(List.of(HeadersCMSD.MQCS))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forInputSwitchConfigurationstatic final classAn implementation forInputSwitchConfiguration -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Boolean(experimental) When true, AWS Elemental MediaPackage performs input switching based on the MQCS.default IngestEndpoint(experimental) For CMAF inputs, indicates which input MediaPackage should prefer when both inputs have equal MQCS scores.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMqcsInputSwitching
(experimental) When true, AWS Elemental MediaPackage performs input switching based on the MQCS.This setting is valid only when InputType is CMAF.
Default: false
-
getPreferredInput
(experimental) 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.
Default: - MediaPackage uses its default switching behavior
-
builder
- Returns:
- a
InputSwitchConfiguration.BuilderofInputSwitchConfiguration
-