Storm docs logo
Search the docs.../
Explore Storm Products

Security settings - Storm JS Player Core

In order to secure access to the stream, a security token can be added to the player config. The token must be provided by a server-side code (PHP, ASP.NET etc.). It must also be configured on the server side.

For more information on how to setup a security token, please check Stream security - Storm Streaming Server section.

Sample Code
Code iconjavascript
const streamConfig = {
    stream: {
      ... // stream configuration
    },
    settings: {
        ... // general configuration
        security: {
            type: "token",
            token: "3f7af6d8a2df9307902f62ff16f1678466",
            timestamp: 1721654321
        }
    }
};

Description of Fields and Parameters

Parameter nameParameter typeRequiredDefaultDescription
typestringYes-Defines type of security mechanism. At this point only token is available.
tokenstringYes-A token generated by server-side script.
timestampnumberYes-An exact time at which token was generated.

For the next step please check our Storm JS Player Core - Debug Settings guide where you'll learn about how to debug your player.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.