SourceBufferList
A simple container list for multiple SourceBuffer objects.
interface SourceBufferList extends EventTarget {
[index: number]: SourceBuffer;
readonly length: number;
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
[[Symbol.iterator]](): IterableIterator<SourceBuffer>;
addEventListener<K extends keyof SourceBufferListEventMap>(
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof SourceBufferListEventMap>(
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var SourceBufferList: {
prototype: SourceBufferList;
new (): SourceBufferList;
};§Extends
§Index Signatures
§
[index: number]: SourceBuffer
§Properties
§
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
[src]§
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
[src]§Methods
§
[[Symbol.iterator]](): IterableIterator<SourceBuffer>
[src]§
addEventListener<K extends keyof SourceBufferListEventMap>(
[src]type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof SourceBufferListEventMap>(
[src]type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void