Audio interface

Defines the common properties for all audio codecs.

Extends

Properties

bitrate

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

channels

The number of channels in the audio.

odataType

Polymorphic discriminator, which specifies the different types this object can be

samplingRate

The sampling rate to use for encoding in hertz.

Inherited Properties

label

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

Property Details

bitrate

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

bitrate?: number

Property Value

number

channels

The number of channels in the audio.

channels?: number

Property Value

number

odataType

Polymorphic discriminator, which specifies the different types this object can be

odataType: "#Microsoft.Media.AacAudio" | "#Microsoft.Media.Audio" | "#Microsoft.Media.DDAudio"

Property Value

"#Microsoft.Media.AacAudio" | "#Microsoft.Media.Audio" | "#Microsoft.Media.DDAudio"

samplingRate

The sampling rate to use for encoding in hertz.

samplingRate?: number

Property Value

number

Inherited Property Details

label

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

label?: string

Property Value

string

Inherited From Codec.label