ReadonlyreadyReturns the parent media source ready state.
ReadonlyreadyTrue if all source buffers have been created and data may be appended.
Constructs a new SourceBuffer with the given content type and mime type.
Creates an Object URL to use as the source for this stream.
Signals the end of the stream.
Optionalerror: EndOfStreamErrorA string representing an error to throw when the end of the stream is reached.
Returns true if the event host has any listeners.
Returns true if the event host has any listeners for the given type.
Adds an event handler for the given typed event.
The key representing the event type to listen for.
A callback to invoke when the event with the given type is dispatched.
Optionaloptions: SignalOptionsOptions for changing listening behavior.
Returns a method, when invoked, removes the handler.
Sets/gets the media source's duration.