Holds different information about the buffer levels.

interface BufferLevel {
    level?: number;
    media?: MediaType;
    targetLevel?: number;
    type?: BufferType;
}

Properties

level?: number

The amount of currently buffered data, e.g. audio or video buffer level.

media?: MediaType

The media type the buffer data applies to.

targetLevel?: number

The target buffer level the player tries to maintain.

type?: BufferType

The buffer type the buffer data applies to.