# CameraContext.stopRecord(Object object)

with Promise style call: Supported

Mini Program plugin: Support

End Video

# parameter

# Object object

attribute type Default values Required Introductions
compressed boolean false no Start video compression with the same compression effectchooseVideo
success function no Interface calls the successful callback function
fail function no Interface calls failed callback functions
complete function no Callback function at the end of an interface call (both successful and unsuccessful calls are executed)

# object.success callback

# parameter
# Object res
attribute type Introductions
tempThumbPath string Temporary path to cover image file (Local path)
tempVideoPath string Temporary path to a file for a video (Local path)