interface BufferMediaTypeConfig {
    backwardduration?: number;
    forwardduration?: number;
}

Properties

backwardduration?: number

The amount of data in seconds the player keeps buffered after it played over it. Default is 20.

forwardduration?: number

The amount of data in seconds the player tries to buffer in advance. Default is 40.

For live streams the lowest value of playlist duration for HLS, timeShiftBufferDepth for DASH and this targetLevel value is used as a maximum value for the forward buffers.