Class CfnChannelPropsMixin.VideoBlackFailoverSettingsProperty
MediaLive will perform a failover if content is considered black for the specified period.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.MediaLive.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnChannelPropsMixin.VideoBlackFailoverSettingsProperty : CfnChannelPropsMixin.IVideoBlackFailoverSettingsProperty
Syntax (vb)
Public Class CfnChannelPropsMixin.VideoBlackFailoverSettingsProperty Implements CfnChannelPropsMixin.IVideoBlackFailoverSettingsProperty
Remarks
The parent of this entity is FailoverConditionSettings.
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.Mixins.Preview.AWS.MediaLive.Mixins;
var videoBlackFailoverSettingsProperty = new VideoBlackFailoverSettingsProperty {
BlackDetectThreshold = 123,
VideoBlackThresholdMsec = 123
};
Synopsis
Constructors
| VideoBlackFailoverSettingsProperty() | MediaLive will perform a failover if content is considered black for the specified period. |
Properties
| BlackDetectThreshold | A value used in calculating the threshold below which MediaLive considers a pixel to be 'black'. |
| VideoBlackThresholdMsec | The amount of time (in milliseconds) that the active input must be black before automatic input failover occurs. |
Constructors
VideoBlackFailoverSettingsProperty()
MediaLive will perform a failover if content is considered black for the specified period.
public VideoBlackFailoverSettingsProperty()
Remarks
The parent of this entity is FailoverConditionSettings.
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.Mixins.Preview.AWS.MediaLive.Mixins;
var videoBlackFailoverSettingsProperty = new VideoBlackFailoverSettingsProperty {
BlackDetectThreshold = 123,
VideoBlackThresholdMsec = 123
};
Properties
BlackDetectThreshold
A value used in calculating the threshold below which MediaLive considers a pixel to be 'black'.
public double? BlackDetectThreshold { get; set; }
Property Value
Remarks
For the input to be considered black, every pixel in a frame must be below this threshold. The threshold is calculated as a percentage (expressed as a decimal) of white. Therefore .1 means 10% white (or 90% black). Note how the formula works for any color depth. For example, if you set this field to 0.1 in 10-bit color depth: (10230.1=102.3), which means a pixel value of 102 or less is 'black'. If you set this field to .1 in an 8-bit color depth: (2550.1=25.5), which means a pixel value of 25 or less is 'black'. The range is 0.0 to 1.0, with any number of decimal places.
VideoBlackThresholdMsec
The amount of time (in milliseconds) that the active input must be black before automatic input failover occurs.
public double? VideoBlackThresholdMsec { get; set; }