This code sample represents example of authentication server for video sdk.
Before running the app, you need to setup and run the authentication server. Use our official videosdk-rtc-nodejs-sdk-example to perform server authentication.
-
Clone the repo
git clone https://github.com/videosdk-live/videosdk-rtc-nodejs-sdk-example
-
Copy the
.env.example
file to.env
file.cp .env.example .env
-
Update the api key and secret values in the
.env
file with the ones generated from the developer console.VIDEOSDK_API_KEY='' VIDEOSDK_SECRET_KEY='' VIDEOSDK_API_ENDPOINT=https://api.videosdk.live
-
Install NPM packages
npm install
-
Run the server
npm run start
Visit, https://www.videosdk.live/ to generate API key and secret.