Share via


MediaCodecBase Class

Definition

Describes the basic properties of all codecs. Please note MediaCodecBase 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, MediaAudioBase, CodecCopyAudio, CodecCopyVideo, DDAudio, H264Video, H265Video, MediaImageBase, JpgImage, PngImage and MediaVideoBase.

public abstract class MediaCodecBase
type MediaCodecBase = class
Public MustInherit Class MediaCodecBase
Inheritance
MediaCodecBase
Derived

Constructors

MediaCodecBase()

Initializes a new instance of MediaCodecBase.

Properties

Label

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

Applies to