Storage Settings - Storm JavaScript Library

In this guide, you will get to know all the configuration options for controlling storage system.

Sample Code

                        
const streamConfig = {
    stream: {
      ... // stream settings
    },
    settings: {
        ... // general settings
        video: {
            ... // video settings
        },
        storage: {
            enabled: true,
            prefix: "storm"
        }
    }
};
                    

Description of Fields and Parameters

Parameter name Parameter type Required Default Description
enabled boolean No true Whenever player is allowed to store data on viewer's device.
prefix string No Prefix which allows to separate different groups of players which should not share memory with each other
Table 1. Storage Configuration Table.
Next Step

For the next step please check our Storm JavaScript Library Debug Settings guide where you’ll learn about how to configure debug options.

Support Needed?

Create a free ticket and our support team will provide you necessary assistance.