getMaxBufferAhead
Description
Returns the maximum kept buffer ahead of the current position, in seconds.
This setting can be updated either by:
- calling the
setMaxBufferAheadmethod. - instanciating an RxPlayer with a
maxBufferAheadproperty set.
Syntax
const bufferSize = player.getMaxBufferAhead();
- return value
number: Maximum kept buffer in front of the current position, in seconds.