Video Server

Video server module handles the task of streaming the recorded video to the end-user.
video-server uses JWT tokens to secure access to resources, including video content and other resources that belong to missions or sensors. With JWTs, access to these resources is restricted to only authorized users, and unauthorized access is denied. The JWT contains a digitally signed payload, which includes information about the user's identity and their access privileges. Only users with a valid JWT that includes the necessary authorization claims will be able to access the content. However, it is important to note that if the stserver does not have the secret key in the confg file, the stvideo server will allow unauthorized access to the content.

video-server uses JWT access token secret, which is automatically generated on the first server run. It will be placed in the /data/config.json file. User can delete it (by removing accessTokenSecret key:value) to allow unrestricted access to the content, or generate a new one.

    "accessTokenSecret": "1474c9a48b4a818ade0f5e3cfa7648fb5c8fa56dfad947fefb6da3602ff39248"

You can regenerate the accessTokenSecret by setting the value to "". The server will automatically create a new secret.

Or, to manualy generate the secret token with any rundom key generator