Class CfnChannel.AutomaticInputFailoverSettingsProperty
Settings to configure the conditions that will define the input as unhealthy and that will make MediaLive fail over to the other input in the input failover pair.
Inheritance
Namespace: Amazon.CDK.AWS.MediaLive
Assembly: Amazon.CDK.AWS.MediaLive.dll
Syntax (csharp)
public class AutomaticInputFailoverSettingsProperty : Object, CfnChannel.IAutomaticInputFailoverSettingsProperty
Syntax (vb)
Public Class AutomaticInputFailoverSettingsProperty
Inherits Object
Implements CfnChannel.IAutomaticInputFailoverSettingsProperty
Remarks
The parent of this entity is InputAttachment.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var automaticInputFailoverSettingsProperty = new AutomaticInputFailoverSettingsProperty {
ErrorClearTimeMsec = 123,
FailoverConditions = new [] { new FailoverConditionProperty {
FailoverConditionSettings = new FailoverConditionSettingsProperty {
AudioSilenceSettings = new AudioSilenceFailoverSettingsProperty {
AudioSelectorName = "audioSelectorName",
AudioSilenceThresholdMsec = 123
},
InputLossSettings = new InputLossFailoverSettingsProperty {
InputLossThresholdMsec = 123
},
VideoBlackSettings = new VideoBlackFailoverSettingsProperty {
BlackDetectThreshold = 123,
VideoBlackThresholdMsec = 123
}
}
} },
InputPreference = "inputPreference",
SecondaryInputId = "secondaryInputId"
};
Synopsis
Constructors
AutomaticInputFailoverSettingsProperty() |
Properties
ErrorClearTimeMsec | This clear time defines the requirement a recovered input must meet to be considered healthy. |
FailoverConditions | A list of failover conditions. |
InputPreference | Input preference when deciding which input to make active when a previously failed input has recovered. |
SecondaryInputId | The input ID of the secondary input in the automatic input failover pair. |
Constructors
AutomaticInputFailoverSettingsProperty()
public AutomaticInputFailoverSettingsProperty()
Properties
ErrorClearTimeMsec
This clear time defines the requirement a recovered input must meet to be considered healthy.
public Nullable<double> ErrorClearTimeMsec { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The input must have no failover conditions for this length of time. Enter a time in milliseconds. This value is particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, because after this time, MediaLive will switch back to the primary input.
FailoverConditions
A list of failover conditions.
public object FailoverConditions { get; set; }
Property Value
System.Object
Remarks
If any of these conditions occur, MediaLive will perform a failover to the other input.
InputPreference
Input preference when deciding which input to make active when a previously failed input has recovered.
public string InputPreference { get; set; }
Property Value
System.String
Remarks
SecondaryInputId
The input ID of the secondary input in the automatic input failover pair.
public string SecondaryInputId { get; set; }
Property Value
System.String