Syntax

Errors

An InvalidState error is raised if the pause() method is called while the MediaRecorder object’s MediaRecorder.state is "inactive" — the media recording cannot be paused if recording is not occurring, and if it is already paused, pause() will have no effect.