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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb

Overview

Note:

When making an API call, you may pass InputLossBehavior data as a hash:

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

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)


5441
5442
5443
5444
5445
5446
5447
5448
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5441

class InputLossBehavior < Struct.new(
  :black_frame_msec,
  :input_loss_image_color,
  :input_loss_image_slate,
  :input_loss_image_type,
  :repeat_frame_msec)
  include Aws::Structure
end

#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)


5441
5442
5443
5444
5445
5446
5447
5448
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5441

class InputLossBehavior < Struct.new(
  :black_frame_msec,
  :input_loss_image_color,
  :input_loss_image_slate,
  :input_loss_image_type,
  :repeat_frame_msec)
  include Aws::Structure
end

#input_loss_image_slateTypes::InputLocation

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



5441
5442
5443
5444
5445
5446
5447
5448
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5441

class InputLossBehavior < Struct.new(
  :black_frame_msec,
  :input_loss_image_color,
  :input_loss_image_slate,
  :input_loss_image_type,
  :repeat_frame_msec)
  include Aws::Structure
end

#input_loss_image_typeString

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

Returns:

  • (String)


5441
5442
5443
5444
5445
5446
5447
5448
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5441

class InputLossBehavior < Struct.new(
  :black_frame_msec,
  :input_loss_image_color,
  :input_loss_image_slate,
  :input_loss_image_type,
  :repeat_frame_msec)
  include Aws::Structure
end

#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)


5441
5442
5443
5444
5445
5446
5447
5448
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5441

class InputLossBehavior < Struct.new(
  :black_frame_msec,
  :input_loss_image_color,
  :input_loss_image_slate,
  :input_loss_image_type,
  :repeat_frame_msec)
  include Aws::Structure
end