感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

MediaFormatProfileLevelCapabilities

Interface to get the Profile level and codec param capabilities

Properties

codecParams

readonly codecParams: string[]

Gets the list of codec parameters string supported by codec.

Refer to https://datatracker.ietf.org/doc/html/rfc6381


profileLevels

readonly profileLevels: ProfileLevel[]

Gets the list of Profile and Levels supported by the codec.

For H264 refer to https://www.itu.int/rec/T-REC-H.264-201906-S/en Section A.2 and Section A.3.4 for Profiles and Levels

Profile is linked to the features used during the Encoding Level is directly linked to Macro Blocks Processing Rate per sec, as defined in the codec specification, which means maximum supported bitrate, framerate and resolution.


Last updated: Oct 02, 2025