MediaRecorderErrorEvent

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("MediaStream Recording")}}{{Non-standard_Header}}

The **MediaRecorderErrorEvent** interface represents errors returned by the MediaStream Recording API. It is an {{domxref("Event")}} object that encapsulates a reference to a {{domxref("DOMException")}} describing the error that occurred.

{{InheritanceDiagram}}

Constructor

  • {{domxref("MediaRecorderErrorEvent.MediaRecorderErrorEvent", "MediaStreamRecorderEvent()")}} {{Deprecated_Inline}} {{Non-standard_Inline}}
  • : Creates and returns a new MediaRecorderErrorEvent event object with the given parameters.

Instance properties

_Inherits properties from its parent interface, {{domxref("Event")}}_.

  • {{domxref("MediaRecorderErrorEvent.error", "error")}} {{ReadOnlyInline}} {{Deprecated_Inline}} {{Non-standard_Inline}}
  • : A {{domxref("DOMException")}} containing information about the error that occurred.

Instance methods

_Inherits methods from its parent interface, {{domxref("Event")}}_.

Specifications

This feature is no longer part of any specification.

Browser compatibility

{{Compat}}