# Object VideoDecoder.getFrameData()

Start from base library version 2.11.0. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support

Get the decoded data for the next frame

# Return value

# Object

Video frame data, returned if not available null。 When the buffer is empty, data may not be fetched.

attribute type Introductions
width number Frame data width
height number Frame data height
data ArrayBuffer Frame data
pkPts number Frame primitive Pts
pkDts number Frame primitive dts