Audio Settings - Storm JavaScript Library

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

Sample Code

                        
const streamConfig = {
    stream: {
      ... // stream settings
    },
    settings: {
        ... // general settings
        video: {
            ... // video settings
        },
        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
Table 1. Audio Configuration Table.
Next Step

For the next step please check our Storm JavaScript Buffer Settings guide where you’ll learn about controlling video buffering.

Support Needed?

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