Amazon Vinyl
    Preparing search index...

    Interface BufferingController

    Any object that may be disposed.

    interface BufferingController {
        active: boolean;
        bufferingEnded: boolean;
        bufferingQuality: MediaQualityMetadata | null;
        error: Error | null;
        playbackQuality: MediaQualityMetadata | null;
        activate(): void;
        clear(): void;
        deactivate(): void;
        dispose(): void;
        hasAnyListeners(): boolean;
        hasListeners(type: keyof BufferingControllerEventMap): boolean;
        on<K extends keyof BufferingControllerEventMap>(
            type: K,
            handler: EventHandler<BufferingControllerEventMap[K]>,
            options?: SignalOptions,
        ): Unsubscribe;
        reset(): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    active: boolean

    True if this buffering controller is active.

    bufferingEnded: boolean

    True if the stream has buffered the last segment.

    bufferingQuality: MediaQualityMetadata | null

    The currently buffering media quality. This is set immediately before a segment of a new quality is appended.

    Listen to BufferingControllerEventMap.bufferingQualityChange events for changes.

    error: Error | null

    The last error emitted. Buffering will halt if this controller is in an error state. Deactivating this controller will reset the error state.

    playbackQuality: MediaQualityMetadata | null

    The currently playing media quality.

    Listen to BufferingControllerEventMap.playbackQualityChange events for changes.