state

The state read-only property of the MediaRecorder interface returns the current state of the current MediaRecorder object.

MDN Reference