as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
Interface to get video format capabilities of a video codec.

Properties

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.

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.

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
Resolution

Returns

number
最后修改于 2026年8月25日