A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/state below:

MediaRecorder: state property - Web APIs

MediaRecorder: state property

Baseline Widely available

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

Value

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.

Examples
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