Vinyl
    Preparing search index...

    Interface ReadonlyMediaSourceController

    interface ReadonlyMediaSourceController {
        duration: number;
        readyState: ReadyState;
        readyToAppend: boolean;
        hasAnyListeners(): boolean;
        hasListeners(type: keyof MediaSourceControllerEventMap): boolean;
        on<K extends keyof MediaSourceControllerEventMap>(
            type: K,
            handler: EventHandler<MediaSourceControllerEventMap[K]>,
            options?: SignalOptions,
        ): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Properties

    duration: number

    Gets the media source's duration.

    readyState: ReadyState

    Returns the parent media source ready state.

    readyToAppend: boolean

    True if all source buffers have been created and data may be appended.

    Methods

    • Returns true if the event host has any listeners.

      Returns boolean