May 19, 2021 WeChat Mini Program Development Document
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
It can be created by wx.createMediaRecorder.
MediaRecorder WebGL Screen Recorder allows you to record and export video files at the end of recording
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
Destroy the recorder
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
Cancel listening for recording events. When the corresponding event is triggered, the callback function is no longer executed.
The name of the event
The callback function that is executed when the event is triggered
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
Register the callback function that listens for recording events. When the corresponding event is triggered, the callback function is executed.
The name of the event
The legal value of eventName
Value | Description | The lowest version |
---|---|---|
start | Record the start event. | |
stop | Record the end event. Return to the sempFilePath, duration, fileSize |
The callback function that is executed when the event is triggered
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
Suspend recording
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
Request the next frame recording and start recording the current frame after a frame rendering is completed in callback
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
Resume recording
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
Start recording
The base library 2.11.0 starts to support, and the lower version needs to be compatible.
End the recording