interface SourceBufferList
implements EventTarget
import { type SourceBufferList } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
A simple container list for multiple SourceBuffer objects.
Index Signatures
index: number]: SourceBuffer
[Properties
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
Methods
addEventListener<K extends keyof SourceBufferListEventMap>(): void
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof SourceBufferListEventMap>(): void
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | EventListenerOptions,