as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

VideoFormatCapabilities

Interface to get video format capabilities of a video codec.

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


Last updated: Oct 02, 2025