PresetAudio class

Constructors

PresetAudio({Input<String?>? audioPackingMode, Input<String?>? bitRate, Input<String?>? channels, Input<String?>? codec, Input<String?>? sampleRate})
Creates a new PresetAudio. audioPackingMode 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. bitRate The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive. channels The number of audio channels in the output file codec The audio codec for the output file. Valid values are AAC, flac, mp2, mp3, pcm, and vorbis. sampleRate The sample rate of the audio stream in the output file, in hertz. Valid values are: auto, 22050, 32000, 44100, 48000, 96000
const
PresetAudio.fromMap(Map<String, dynamic> map)
factory

Properties

audioPackingMode → Input<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 → Input<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 → Input<String?>?
The number of audio channels in the output file
final
codec → Input<String?>?
The audio codec for the output file. Valid values are AAC, flac, mp2, mp3, pcm, and vorbis.
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 → Input<String?>?
The sample rate of the audio stream in the output file, in hertz. Valid values are: auto, 22050, 32000, 44100, 48000, 96000
final

Methods

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

Operators

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