Storm docs logo
Search the docs.../
Explore Storm Products

Buffer Settings - Storm JS Player Core

In this guide, you will get to know all the configuration options and parameters related to data buffering by the library.

Sample Code
Code iconjavascript
const streamConfig = {
    stream: {
      ... // stream configuration
    },
    settings: {
        ... // basic configuration
        buffer: {
            minValue: 0.5,
            startValue: 0.5,
            maxValue: 1.5,
            targetValue: 1.0
        }
    }
};

Description of Fields and Parameters

Parameter nameParameter typeRequiredDefaultDescription
minValuenumberYes0.2Minimum stream length (in seconds) below which buffering will start.
startValuenumberYes0.5Required stream length (in seconds) for it to start playing.
maxValuenumberYes2.0Maximum stream length (in seconds) above which the video will begin to accelerate to ensure minimal delays compared to the source material.
targetValuenumberYes0.7Buffer length that Storm JS Player Core will try to maintain.

Please note that while the declaration of the buffer object itself is not required, all parameters must be defined at the time of its creation.

Next Step

For the next step please check our Storm JS Player Core - Quality Settings guide where you'll learn about how to configure quality options. .

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.