You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaLive::Types::InputLossBehavior

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InputLossBehavior as input to an Aws::Client method, you can use a vanilla Hash:

{
  black_frame_msec: 1,
  input_loss_image_color: "__stringMin6Max6",
  input_loss_image_slate: {
    password_param: "__string",
    uri: "__string", # required
    username: "__string",
  },
  input_loss_image_type: "COLOR", # accepts COLOR, SLATE
  repeat_frame_msec: 1,
}

Input Loss Behavior

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#black_frame_msecInteger

On input loss, the number of milliseconds to substitute black into the output before switching to the frame specified by inputLossImageType. A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000 will be interpreted as infinite.

Returns:

  • (Integer)

    On input loss, the number of milliseconds to substitute black into the output before switching to the frame specified by inputLossImageType.

#input_loss_image_colorString

When input loss image type is \"color\" this field specifies the color to use. Value: 6 hex characters representing the values of RGB.

Returns:

  • (String)

    When input loss image type is \"color\" this field specifies the color to use.

#input_loss_image_slateTypes::InputLocation

When input loss image type is \"slate\" these fields specify the parameters for accessing the slate.

Returns:

  • (Types::InputLocation)

    When input loss image type is \"slate\" these fields specify the parameters for accessing the slate.

#input_loss_image_typeString

Indicates whether to substitute a solid color or a slate into the output after input loss exceeds blackFrameMsec.

Possible values:

  • COLOR
  • SLATE

Returns:

  • (String)

    Indicates whether to substitute a solid color or a slate into the output after input loss exceeds blackFrameMsec.

#repeat_frame_msecInteger

On input loss, the number of milliseconds to repeat the previous picture before substituting black into the output. A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000 will be interpreted as infinite.

Returns:

  • (Integer)

    On input loss, the number of milliseconds to repeat the previous picture before substituting black into the output.