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 nameParameter typeRequiredDefaultDescription
startVolumenumberNo100The initial volume for the player.
mutedbooleanNofalseWhenever 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.