Audio Settings - Storm JS Player Core
In this guide, you will get to know all the configuration options for controlling volume.
Sample Code
const streamConfig = {
stream: {
... // stream configuration
},
settings: {
... // basic configuration
audio: {
startVolume: 100,
muted: false
}
}
};
Description of Fields and Parameters
| Parameter name | Parameter type | Required | Default | Description |
|---|---|---|---|---|
startVolume | number | No | 100 | The initial volume for the player. |
muted | boolean | No | false | Whenever player should be muted upon startup |
Next Step
For the next step please check our Storm JS Player Core - Buffer Settings guide where you'll learn about controlling video buffering.