Vinyl
    Preparing search index...

    Class BufferingControllerImpl

    The buffering controller is responsible for requesting and appending segments to the source buffer controller.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    contentType: ContentType
    logPrefix: string

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

    Accessors

    • get "[toStringTag]"(): string

      Returns string

    • get active(): boolean

      True if this buffering controller is active.

      Returns boolean

    • get bufferingEnded(): boolean

      Returns true if the last segment has been appended.

      Returns boolean

    • get busy(): boolean

      Returns true if there are active operations.

      Returns boolean

    • get disposed(): boolean

      Returns boolean

    • get error(): null | Error

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

      Returns null | Error

    Methods

    • Activates the buffering controller, watching the playhead and segment controller.

      Returns void

    • Returns Promise<void>

    • Cancels any currently buffering fragments and clears the source buffer.

      Returns void

    • Stops buffering.

      Returns void

    • If this controller is in an error state, resets and tries again.

      Returns void