OpusSettings class

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.

Constructors

OpusSettings({int? bitrate, int? channels, int? sampleRate})
OpusSettings.fromJson(Map<String, dynamic> json)
factory

Properties

bitrate int?
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.
final
channels int?
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.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int?
Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000. The default value is 48000.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited