Skip to main content

player.bufferTimeInMilliseconds

since 1.2.3

Description​

Gets or sets how many milliseconds of audio samples should be buffered in total.

  • Larger buffers cause a delay from when audio settings like volumes will be applied.
  • Smaller buffers can cause audio crackling due to constant buffering that is happening.

This buffer size can be changed whenever needed.

player.bufferTimeInMillisecondsJavaScript
player.bufferTimeInMillisecondsJSON
data-player-buffertimeinmillisecondsHTML
Player.BufferTimeInMilliseconds.net
player.bufferTimeInMillisecondsAndroid

Types​

TypeValues
intAll

5000
1000

Default Value​

500