class Aws::MediaLive::Types::AutomaticInputFailoverSettings

The settings for Automatic Input Failover.

@note When making an API call, you may pass AutomaticInputFailoverSettings

data as a hash:

    {
      error_clear_time_msec: 1,
      failover_conditions: [
        {
          failover_condition_settings: {
            audio_silence_settings: {
              audio_selector_name: "__string", # required
              audio_silence_threshold_msec: 1,
            },
            input_loss_settings: {
              input_loss_threshold_msec: 1,
            },
            video_black_settings: {
              black_detect_threshold: 1.0,
              video_black_threshold_msec: 1,
            },
          },
        },
      ],
      input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
      secondary_input_id: "__string", # required
    }

@!attribute [rw] error_clear_time_msec

This clear time defines the requirement a recovered input must meet
to be considered healthy. 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.
@return [Integer]

@!attribute [rw] failover_conditions

A list of failover conditions. If any of these conditions occur,
MediaLive will perform a failover to the other input.
@return [Array<Types::FailoverCondition>]

@!attribute [rw] input_preference

Input preference when deciding which input to make active when a
previously failed input has recovered.
@return [String]

@!attribute [rw] secondary_input_id

The input ID of the secondary input in the automatic input failover
pair.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AutomaticInputFailoverSettings AWS API Documentation

Constants

SENSITIVE