vot.js - v2.4.18
    Preparing search index...

    Interface SourceBufferList

    The SourceBufferList interface represents a simple container list for multiple SourceBuffer objects.

    MDN Reference

    interface SourceBufferList {
        length: number;
        onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
        onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null;
        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;
        dispatchEvent(event: Event): boolean;
        dispatchEvent(event: Event): boolean;
        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;
        [index: number]: SourceBuffer;
    }

    Hierarchy

    • EventTarget
      • SourceBufferList

    Indexable

    Index
    length: number

    The length read-only property of the An unsigned long number.

    MDN Reference

    onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
    onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
    • The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.

      MDN Reference

      Type Parameters

      Parameters

      Returns 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.

      MDN Reference

      Parameters

      Returns void

    • The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.

      MDN Reference

      Parameters

      • event: Event

      Returns boolean

    • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

      Parameters

      • event: Event

      Returns boolean