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

Class: Aws::MediaLive::Types::Mp2Settings

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 Mp2Settings data as a hash:

{
  bitrate: 1.0,
  coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_2_0
  sample_rate: 1.0,
}

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateFloat

Average bitrate in bits/second.

Returns:

  • (Float)


6499
6500
6501
6502
6503
6504
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 6499

class Mp2Settings < Struct.new(
  :bitrate,
  :coding_mode,
  :sample_rate)
  include Aws::Structure
end

#coding_modeString

The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or codingMode20 (for stereo).

Returns:

  • (String)


6499
6500
6501
6502
6503
6504
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 6499

class Mp2Settings < Struct.new(
  :bitrate,
  :coding_mode,
  :sample_rate)
  include Aws::Structure
end

#sample_rateFloat

Sample rate in Hz.

Returns:

  • (Float)


6499
6500
6501
6502
6503
6504
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 6499

class Mp2Settings < Struct.new(
  :bitrate,
  :coding_mode,
  :sample_rate)
  include Aws::Structure
end