You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::OpusSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::OpusSettings
- Defined in:
- (unknown)
Overview
When passing OpusSettings as input to an Aws::Client method, you can use a vanilla Hash:
{
bitrate: 1,
channels: 1,
sample_rate: 1,
}
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.
Returned by:
Instance Attribute Summary collapse
-
#bitrate ⇒ Integer
Optional.
-
#channels ⇒ Integer
Specify the number of channels in this output audio track.
-
#sample_rate ⇒ Integer
Optional.
Instance Attribute Details
#bitrate ⇒ Integer
Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.
#channels ⇒ Integer
Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
#sample_rate ⇒ Integer
Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000. The default value is 48000.