public class MediaSource extends EventTarget
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<SourceBufferList> |
activeSourceBuffers |
Objs.Property<Number> |
duration |
Objs.Property<Number> |
readyState |
Objs.Property<SourceBufferList> |
sourceBuffers |
Modifier | Constructor and Description |
---|---|
protected |
MediaSource(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static MediaSource |
$as(Object obj) |
SourceBufferList |
activeSourceBuffers() |
SourceBuffer |
addSourceBuffer(String type) |
Number |
duration() |
void |
endOfStream() |
void |
endOfStream(double error) |
Number |
readyState() |
void |
removeSourceBuffer(SourceBuffer sourceBuffer) |
SourceBufferList |
sourceBuffers() |
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListener, removeEventListener
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<SourceBufferList> activeSourceBuffers
public Objs.Property<Number> duration
public Objs.Property<Number> readyState
public Objs.Property<SourceBufferList> sourceBuffers
protected MediaSource(Objs.Constructor<?> c, Object js)
public static MediaSource $as(Object obj)
public SourceBufferList activeSourceBuffers()
public Number duration()
public Number readyState()
public SourceBufferList sourceBuffers()
public SourceBuffer addSourceBuffer(String type)
public void endOfStream(double error)
public void endOfStream()
public void removeSourceBuffer(SourceBuffer sourceBuffer)
Copyright © 2018. All rights reserved.