AudioStreamArgs

data class AudioStreamArgs(val bitrateBps: Output<Int>, val channelCount: Output<Int>? = null, val channelLayout: Output<List<String>>? = null, val codec: Output<String>? = null, val displayName: Output<String>? = null, val languageCode: Output<String>? = null, val mapping: Output<List<AudioMappingArgs>>? = null, val sampleRateHertz: Output<Int>? = null) : ConvertibleToJava<AudioStreamArgs>

Audio stream resource.

Constructors

Link copied to clipboard
fun AudioStreamArgs(bitrateBps: Output<Int>, channelCount: Output<Int>? = null, channelLayout: Output<List<String>>? = null, codec: Output<String>? = null, displayName: Output<String>? = null, languageCode: Output<String>? = null, mapping: Output<List<AudioMappingArgs>>? = null, sampleRateHertz: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AudioStreamArgs

Properties

Link copied to clipboard
val bitrateBps: Output<Int>

Audio bitrate in bits per second. Must be between 1 and 10,000,000.

Link copied to clipboard
val channelCount: Output<Int>? = null

Number of audio channels. Must be between 1 and 6. The default is 2.

Link copied to clipboard
val channelLayout: Output<List<String>>? = null

A list of channel names specifying layout of the audio channels. This only affects the metadata embedded in the container headers, if supported by the specified format. The default is ["fl", "fr"]. Supported channel names: - fl - Front left channel - fr - Front right channel - sl - Side left channel - sr - Side right channel - fc - Front center channel - lfe - Low frequency

Link copied to clipboard
val codec: Output<String>? = null

The codec for this audio stream. The default is aac. Supported audio codecs: - aac - aac-he - aac-he-v2 - mp3 - ac3 - eac3

Link copied to clipboard
val displayName: Output<String>? = null

The name for this particular audio stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.

Link copied to clipboard
val languageCode: Output<String>? = null

The BCP-47 language code, such as en-US or sr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.

Link copied to clipboard
val mapping: Output<List<AudioMappingArgs>>? = null

The mapping for the Job.edit_list atoms with audio EditAtom.inputs.

Link copied to clipboard
val sampleRateHertz: Output<Int>? = null

The audio sample rate in Hertz. The default is 48000 Hertz.