PresetAudio

data class PresetAudio(val audioPackingMode: String? = null, val bitRate: String? = null, val channels: String? = null, val codec: String? = null, val sampleRate: String? = null)

Constructors

Link copied to clipboard
constructor(audioPackingMode: String? = null, bitRate: String? = null, channels: String? = null, codec: String? = null, sampleRate: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard
val bitRate: String? = null

The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.

Link copied to clipboard
val channels: String? = null

The number of audio channels in the output file

Link copied to clipboard
val codec: String? = null

The audio codec for the output file. Valid values are AAC, flac, mp2, mp3, pcm, and vorbis.

Link copied to clipboard
val sampleRate: String? = null

The sample rate of the audio stream in the output file, in hertz. Valid values are: auto, 22050, 32000, 44100, 48000, 96000