Readonly
activeThe activeSourceBuffers
read-only property of the containing a subset of the SourceBuffer objects contained within providing the selected video track, enabled audio tracks, and shown/hidden text tracks.
The duration
property of the MediaSource interface gets and sets the duration of the current media being presented.
Readonly
readyThe readyState
read-only property of the current MediaSource
.
Readonly
sourceThe sourceBuffers
read-only property of the containing the list of SourceBuffer objects associated with this MediaSource
.
The addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optional
options: boolean | AddEventListenerOptionsThe addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optional
options: boolean | AddEventListenerOptionsThe addSourceBuffer()
method of the given MIME type and adds it to the MediaSource
's SourceBuffer
is also returned.
The clearLiveSeekableRange()
method of the to MediaSource.setLiveSeekableRange().
The dispatchEvent()
method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
The endOfStream()
method of the js-nolint endOfStream() endOfStream(endOfStreamError)
- endOfStreamError
MISSING: optional_inline] - : A string representing an error to throw when the end of the stream is reached.
Optional
error: EndOfStreamErrorThe removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optional
options: boolean | EventListenerOptionsThe removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optional
options: boolean | EventListenerOptionsThe removeSourceBuffer()
method of the MediaSource interface removes the given SourceBuffer from the SourceBufferList associated with this MediaSource
object.
The setLiveSeekableRange()
method of the media element.
The
MediaSource
interface of the Media Source Extensions API represents a source of media data for an HTMLMediaElement object.MDN Reference