Storage Settings - Storm JS Player Core
In this guide, you will get to know all the configuration options for controlling storage system.
Sample Code
const streamConfig = {
stream: {
... // stream configuration
},
settings: {
... // basic configuration
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 |
Next Step
For the next step please check our Storm JS Player Core - Security Settings guide where you'll learn about how to protect your streams.