stopRecording()

stopRecording({instanceId})

Compatibility:
Prebuilt
Custom

Stops a recording if the participant is currently recording. It has no effect if there's no current recording.

If multiple recording instances are running, each instance must be stopped individually by a call to stopRecording() with the instance's unique instanceId.