AudioCodecSettings class

Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio encoding. The settings in this group vary depending on the value that you choose for Audio codec (Codec). For each codec enum that you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * MP3, Mp3Settings * WAV, WavSettings * AIFF, AiffSettings

  • AC3, Ac3Settings * EAC3, Eac3Settings * EAC3_ATMOS, Eac3AtmosSettings * VORBIS, VorbisSettings * OPUS, OpusSettings

Constructors

AudioCodecSettings({AacSettings? aacSettings, Ac3Settings? ac3Settings, AiffSettings? aiffSettings, AudioCodec? codec, Eac3AtmosSettings? eac3AtmosSettings, Eac3Settings? eac3Settings, Mp2Settings? mp2Settings, Mp3Settings? mp3Settings, OpusSettings? opusSettings, VorbisSettings? vorbisSettings, WavSettings? wavSettings})
AudioCodecSettings.fromJson(Map<String, dynamic> json)
factory

Properties

aacSettings AacSettings?
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode (rateControlMode) to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality (vbrQuality). In CBR mode, you use the setting Bitrate (bitrate). Defaults and valid values depend on the rate control mode.
final
ac3Settings Ac3Settings?
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3.
final
aiffSettings AiffSettings?
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.
final
codec AudioCodec?
Type of Audio codec.
final
eac3AtmosSettings Eac3AtmosSettings?
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS.
final
eac3Settings Eac3Settings?
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.
final
hashCode int
The hash code for this object.
no setterinherited
mp2Settings Mp2Settings?
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.
final
mp3Settings Mp3Settings?
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.
final
opusSettings OpusSettings?
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vorbisSettings VorbisSettings?
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.
final
wavSettings WavSettings?
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.
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