stopRecording()

Compatibility:
Prebuilt
Custom

stopRecording({instanceId})

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.