getMaxBufferBehind

June 11, 2026 ยท View on GitHub

Description

Returns the maximum kept buffer before the current position, in seconds.

This setting can be updated either by:

  • calling the setMaxBufferBehind method.
  • instantiating an RxPlayer with a maxBufferBehind property set.

Syntax

const bufferSize = player.getMaxBufferBehind();
  • return value number: Maximum kept buffer before the current position, in seconds.