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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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,
}

Mp2 Settings

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateFloat

Average bitrate in bits/second.

Returns:

  • (Float)


12409
12410
12411
12412
12413
12414
12415
# File 'lib/aws-sdk-medialive/types.rb', line 12409

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

#coding_modeString

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

Returns:

  • (String)


12409
12410
12411
12412
12413
12414
12415
# File 'lib/aws-sdk-medialive/types.rb', line 12409

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

#sample_rateFloat

Sample rate in Hz.

Returns:

  • (Float)


12409
12410
12411
12412
12413
12414
12415
# File 'lib/aws-sdk-medialive/types.rb', line 12409

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