VideoFormatCapabilities
Interface to get video format capabilities of a video codec.
Properties
resolutions
readonlyresolutions: Resolution[]
The supported resolutions.
The supported resolution range for codec or runtime get the resolution associated with buffers. The array size is always two, where the min resolution is at 0 index and max resolution at 1 index.
colorFormats
readonlycolorFormats:string[]
The supported color formats.
The supported color formats(for decoders output or encoders input) for codec or runtime gets the color format of buffers. An array size of one and more than one is supported.
Methods
getMaxFrameRate()
getMaxFrameRate(resolution: Resolution):
number
Gets the maximum FrameRate for particular width and height.
Platform internally uses some existing measurement points in idle condition to extrapolate framerate for particular width/heigh which should be treated as hint and may not be feasible in all the system conditions.
number maximum supported framerate per second
Parameters
resolution
Returns
number
Last updated: Jul 28, 2026

