Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
MediaRecorderErrorEvent() constructor creates a new
MediaRecorderErrorEvent object that represents an error that occurred during the recording of media by the MediaStream Recording API.
Note: In general, you won't create these yourself; they are delivered to your implementation of
onerror when errors occur while recording media.
new MediaRecorderErrorEvent(type, options)
A string with the name of the event. It is case-sensitive and browsers always set it to
An object that, in addition of the properties defined in
Event(), can have the following properties:
DOMException that describes the error that occurred. This object's
name property should indicate the name of the error that occurred. The other fields may or may not be present.
Note: Some user agents add to the