For the next step please check our Storm JavaScript Library Storage Settings guide where you’ll learn about how to configure storage options.
In this guide, you will get to know all the configuration options and parameters related to data buffering by the library.
const streamConfig = {
stream: {
... // stream settings
},
settings: {
... // general settings
buffer: {
minValue: 0.5,
startValue: 0.5,
maxValue: 1.5,
targetValue: 1.0,
},
video: {
... // video settings
}
}
};
Parameter name | Parameter type | Required | Default | Description |
---|---|---|---|---|
minValue | number | Yes | 0.2 | Minimum stream length (in seconds) below which buffering will start. |
startValue | number | Yes | 0.5 | Required stream length (in seconds) for it to start playing. |
maxValue | number | Yes | 0.2 | Maximum stream length (in seconds) above which the video will begin to accelerate to ensure minimal delays compared to the source material. |
targetValue | number | Yes | 0.1 | Buffer length that stormLibrary will try to maintain. |
Create a free ticket and our support team will provide you necessary assistance.