AudioResponse

data class AudioResponse(val bitrate: Int? = null, val channels: Int? = null, val label: String? = null, val odataType: String, val samplingRate: Int? = null)

Defines the common properties for all audio codecs.

Constructors

Link copied to clipboard
constructor(bitrate: Int? = null, channels: Int? = null, label: String? = null, odataType: String, samplingRate: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bitrate: Int? = null

The bitrate, in bits per second, of the output encoded audio.

Link copied to clipboard
val channels: Int? = null

The number of channels in the audio.

Link copied to clipboard
val label: String? = null

An optional label for the codec. The label can be used to control muxing behavior.

Link copied to clipboard

The discriminator for derived types. Expected value is '#Microsoft.Media.Audio'.

Link copied to clipboard
val samplingRate: Int? = null

The sampling rate to use for encoding in hertz.