Amazon Vinyl
    Preparing search index...

    Interface MediaSourceController

    interface MediaSourceController {
        readyState: ReadyState;
        readyToAppend: boolean;
        activate(): string;
        createSourceBuffer(
            contentType: ContentType,
            mimeType: string,
        ): SourceBufferRef;
        deactivate(): void;
        endOfStream(error?: EndOfStreamError): void;
        hasAnyListeners(): boolean;
        hasListeners(type: keyof MediaSourceControllerEventMap): boolean;
        on<K extends keyof MediaSourceControllerEventMap>(
            type: K,
            handler: EventHandler<MediaSourceControllerEventMap[K]>,
            options?: SignalOptions,
        ): Unsubscribe;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    readyState: ReadyState

    Returns the parent media source ready state.

    readyToAppend: boolean

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