Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PlayerBufferAPI

Hierarchy

  • PlayerBufferAPI

Index

Methods

getLevel

  • Returns the current and target buffer level for the given buffer type and media type.

    since

    v8.1

    Parameters

    • type: BufferType

      the buffer type for which to get the buffer level for.

    • media: MediaType

      the media type for which to get the buffer level for.

    Returns BufferLevel

setTargetLevel

  • Sets the target buffer level for the chosen buffer and media type.

    since

    v8.1

    Parameters

    • type: BufferType

      The buffer type to change the target buffer level for.

    • value: number

      The value to set.

    • media: MediaType

      The media type to change the target buffer level for.

    Returns void

Generated using TypeDoc