ManagedSourceBuffer
extension type
Methods
-
abort()
→ void
-
The
abort()
method of the SourceBuffer
interface aborts the current segment and resets the segment parser.
inherited
-
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
-
appendBuffer(BufferSource data)
→ void
-
The
appendBuffer()
method of the
SourceBuffer interface appends media segment data from an
ArrayBuffer
, a TypedArray
or a DataView
object
to the SourceBuffer
.
inherited
-
changeType(String type)
→ void
-
The
changeType()
method of the
SourceBuffer interface sets the MIME type that future calls to
SourceBuffer.appendBuffer should expect the new media
data to conform to. This makes it possible to change codecs or container
type
mid-stream.
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(num start, num end)
→ void
-
The
remove()
method of the SourceBuffer
interface removes media segments within a specific time range from the
SourceBuffer
. This method can only be called when
SourceBuffer.updating equals false
. If
SourceBuffer.updating
is not equal to false
, call
SourceBuffer.abort.
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
-
toString()
→ String
-
A string representation of this object.
inherited