# MediaRecorder.off(string eventName, function callback)

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

with Promise style call: Not supported

Mini Program plugin: Support

Cancels listening recording events. When the corresponding event triggers, the callback is no longer executed.

# parameter

# string eventName

Event name

# function callback

A callback function executed when an event is triggered