AudioParameters class

Parameters required for transcoding audio.

Constructors

AudioParameters({String? audioPackingMode, String? bitRate, String? channels, String? codec, AudioCodecOptions? codecOptions, String? sampleRate})
AudioParameters.fromJson(Map<String, dynamic> json)
factory

Properties

audioPackingMode String?
The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.
final
bitRate String?
The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.
final
channels String?
The number of audio channels in the output file. The following values are valid:
final
codec String?
The audio codec for the output file. Valid values include aac, flac, mp2, mp3, pcm, and vorbis.
final
codecOptions AudioCodecOptions?
If you specified AAC for Audio:Codec, this is the AAC compression profile to use. Valid values include:
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 String?
The sample rate of the audio stream in the output file, in Hertz. Valid values include:
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