Share via


MediaAudioBase Class

Definition

Defines the common properties for all audio codecs. Please note MediaAudioBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AacAudio and DDAudio.

public class MediaAudioBase : Azure.ResourceManager.Media.Models.MediaCodecBase
type MediaAudioBase = class
    inherit MediaCodecBase
Public Class MediaAudioBase
Inherits MediaCodecBase
Inheritance
MediaAudioBase
Derived

Constructors

MediaAudioBase()

Initializes a new instance of MediaAudioBase.

Properties

Bitrate

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

Channels

The number of channels in the audio.

Label

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

(Inherited from MediaCodecBase)
SamplingRate

The sampling rate to use for encoding in hertz.

Applies to