ReadonlylogA string prefix for all log statements made by this target.
Returns the parent media source ready state.
True if all source buffers have been created and data may be appended.
Creates the internal media source. Returns an Object URL to use as the source for this stream.
Implementation note: Only the first
Constructs a new SourceBuffer with the given content type and mime type.
Deactivates the controller, disposing underlying resources.
Dispatches an event.
The key of the event within EventMap
If the passed event is read-only, then it may be re-used/cached. Otherwise, it should be a new event object every dispatch. If no target property is set on the event, the target will be set to this host.
Signals the end of the stream.
Optionalerror: EndOfStreamError
A 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: SignalOptions
Options for changing listening behavior.
Returns a method, when invoked, removes the handler.
Provides the logging prefix for all logs made by this target.