Properties
colorFormats
readonly colorFormats: 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.
resolutions
readonly resolutions: 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.
Methods
getMaxFrameRate()
getMaxFrameRate(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.
Parameters
resolution
Resolution
Returns
number
maximum supported framerate per second

