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.

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

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

Constructor

Audio(*, label: Optional[str] = None, channels: Optional[int] = None, sampling_rate: Optional[int] = None, bitrate: Optional[int] = None, **kwargs)

Variables

odata_type
str

Required. The discriminator for derived types.Constant filled by server.

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.