ManagedMediaSource extension type

on
Implemented types

Constructors

ManagedMediaSource()
factory

Properties

activeSourceBuffers SourceBufferList
no setterinherited
duration num
getter/setter pairinherited
handle MediaSourceHandle
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
onendstreaming EventHandler?
getter/setter pair
onsourceclose EventHandler?
getter/setter pairinherited
onsourceended EventHandler?
getter/setter pairinherited
onsourceopen EventHandler?
getter/setter pairinherited
onstartstreaming EventHandler?
getter/setter pair
readyState ReadyState
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceBuffers SourceBufferList
no setterinherited
streaming bool
no setter

Methods

addEventListener(String type, EventListener? callback, [JSAny options]) → void
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
inherited
addSourceBuffer(String type) SourceBuffer
The addSourceBuffer() method of the MediaSource interface creates a new SourceBuffer of the given and adds it to the MediaSource's MediaSource.sourceBuffers list. The new SourceBuffer is also returned.
inherited
clearLiveSeekableRange() → void
The clearLiveSeekableRange() method of the MediaSource interface clears a seekable range previously set with a call to MediaSource.setLiveSeekableRange.
inherited
dispatchEvent(Event event) bool
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
inherited
endOfStream([EndOfStreamError error]) → void
The endOfStream() method of the MediaSource interface signals the end of the stream.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String type, EventListener? callback, [JSAny options]) → void
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.
inherited
removeSourceBuffer(SourceBuffer sourceBuffer) → void
The removeSourceBuffer() method of the MediaSource interface removes the given SourceBuffer from the SourceBufferList associated with this MediaSource object.
inherited
setLiveSeekableRange(num start, num end) → void
The setLiveSeekableRange() method of the MediaSource interface sets the range that the user can seek to in the media element.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited