The MediaRecorder.onerror event handler (part of the MediaRecorder API) handles the DOMError event, allowing you to run code in response to fatal errors occurring that prevent media capture.
The MediaRecorder.onresume event handler (part of the MediaRecorder API) handles the resume event, allowing you to run code in response to the media recording being resumed after pausing.
The MediaRecorder.onstartevent handler (part of the MediaRecorder API) handles the start event, allowing you to run code in response to media recording being started by a MediaRecorder.
The MediaRecorder.onstop event handler (part of the MediaRecorder API) handles the stop event, allowing you to run code in response to media recording via a MediaRecorder being stopped.
The MediaRecorder.onwarning event handler (part of the MediaRecorder API) handles the recordingwarning event, allowing you to run code in response to non-fatal errors being thrown during media recording via a MediaRecorder, which don't halt recording.
The addSourceBuffer() method of the MediaSource interface creates a new SourceBuffer of the given MIME type and adds it to the MediaSource's SourceBuffers list.
The duration property of the MediaSource interface gets and sets the duration of the current media being presented.
The endOfStream() method of the MediaSource interface signals the end of the stream.
The isTypeSupported() method of the MediaSource interface returns a Boolean value indicating if the given MIME type is supported by the current user agent — this is, if it can successfully create SourceBuffer objects for that MIME type.
The MediaSource() constructor of the MediaSource interface constructs and returns a new MediaSource object with no associated source buffers.
The readyState read-only property of the MediaSource interface returns an enum representing the state of the current MediaSource. The three possible values are:
The removeSourceBuffer() method of the MediaSource interface removes the given SourceBuffer from the SourceBuffers list associated with this MediaSource object.
The sourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this MediaSource.
The abort() method of the SourceBuffer interface aborts the current segment and resets the segment parser.
The appendBuffer() method of the SourceBuffer interface appends media segment data from an ArrayBuffer or ArrayBufferView object to the SourceBuffer.
The appendStream() method of the SourceBuffer interface appends media segment data from a ReadableStream object to the SourceBuffer.
The appendWindowStart property of the SourceBuffer interface controls the timestamp for the start of the append window, a timestamp range that can be used to filter what media data is appended to the SourceBuffer. Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
The buffered read-only property of the SourceBuffer interface returns the time ranges that are currently buffered in the SourceBuffer.
The remove() method of the SourceBuffer interface removes media segments within a specific time range from the SourceBuffer.