# RecorderManager.onFrameRecorded(function callback)

with Promise style call: Not supported

Mini Program plugin: Support

Listens for file events that have finished recording the specified frame size. If you set FrameSize, the event is called back.

# parameter

# function callback

A callback function for a file event that has finished recording the specified frame size

# parameter

# Object res
attribute type Introductions
frameBuffer ArrayBuffer Recording segmented data
isLastFrame boolean Is the current frame normal? The last frame before the end of recording