Vinyl
    Preparing search index...

    Class MediaSourceControllerImpl

    Provides the logging prefix for all logs made by this target.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    logPrefix: string

    A string prefix for all log statements made by this target.

    Accessors

    • get "[toStringTag]"(): string

      Returns string

    • get duration(): number

      Sets/gets the media source's duration.

      Returns number

    • set duration(value: number): void

      Sets/gets the media source's duration.

      Parameters

      • value: number

      Returns void

    • get readyState(): ReadyState

      Returns the parent media source ready state.

      Returns ReadyState

    • get readyToAppend(): boolean

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

      Returns boolean

    Methods

    • Creates an Object URL to use as the source for this stream.

      Returns string

    • Returns void

    • Signals the end of the stream.

      Parameters

      • Optionalerror: EndOfStreamError

        A string representing an error to throw when the end of the stream is reached.

      Returns void