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

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

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

Overview

Note:

When passing Mp2Settings as input to an Aws::Client method, you can use a vanilla 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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bitrateFloat

Average bitrate in bits/second.

Returns:

  • (Float)

    Average bitrate in bits/second.

#coding_modeString

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

Possible values:

  • CODING_MODE_1_0
  • CODING_MODE_2_0

Returns:

  • (String)

    The MPEG2 Audio coding mode.

#sample_rateFloat

Sample rate in Hz.

Returns:

  • (Float)

    Sample rate in Hz.