Baseline Widely available
The state
read-only property of the MediaRecorder
interface returns the current state of the current MediaRecorder
object.
A string containing one of the following values:
inactive
Recording is not occurring â it has either not been started yet, or it has been started and then stopped.
recording
Recording has been started and the user agent is capturing data.
paused
Recording has been started, then paused, but not yet stopped or resumed.
record.onclick = () => {
mediaRecorder.start();
console.log(mediaRecorder.state);
// Will return "recording"
console.log("recorder started");
};
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4