Audio Class

Defines the common properties for all audio codecs.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: AacAudio, DDAudio

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.media.models._models_py3.Codec
Audio

Constructor

Audio(*, label: str | None = None, channels: int | None = None, sampling_rate: int | None = None, bitrate: int | None = None, **kwargs)

Keyword-Only Parameters

Name Description
label
str

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

channels
int

The number of channels in the audio.

sampling_rate
int

The sampling rate to use for encoding in hertz.

bitrate
int

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

Variables

Name Description
odata_type
str

The discriminator for derived types. Required.

label
str

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

channels
int

The number of channels in the audio.

sampling_rate
int

The sampling rate to use for encoding in hertz.

bitrate
int

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