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.CodecAudio
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
|
An optional label for the codec. The label can be used to control muxing behavior. |
channels
|
The number of channels in the audio. |
sampling_rate
|
The sampling rate to use for encoding in hertz. |
bitrate
|
The bitrate, in bits per second, of the output encoded audio. |
Variables
Name | Description |
---|---|
odata_type
|
The discriminator for derived types. Required. |
label
|
An optional label for the codec. The label can be used to control muxing behavior. |
channels
|
The number of channels in the audio. |
sampling_rate
|
The sampling rate to use for encoding in hertz. |
bitrate
|
The bitrate, in bits per second, of the output encoded audio. |
Azure SDK for Python