# RecorderManager.onFrameRecorded(function callback)

Listens on the event that the file with specified frame size has been recorded. This event is called back if frameSize is set.

# Parameters

# function callback

The callback function for the event that the file with specified frame size has been recorded

# Parameters

# Object res
Property Type Description
frameBuffer ArrayBuffer Recording frame data
isLastFrame boolean Whether the current frame is the last frame before the end of recording
点击咨询小助手