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
- Struct
- Aws::MediaLive::Types::Mp2Settings
- 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
-
#bitrate ⇒ Float
Average bitrate in bits/second.
-
#coding_mode ⇒ String
The MPEG2 Audio coding mode.
-
#sample_rate ⇒ Float
Sample rate in Hz.
Instance Attribute Details
#bitrate ⇒ Float
Average bitrate in bits/second.
#coding_mode ⇒ String
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
#sample_rate ⇒ Float
Sample rate in Hz.