Skip to content

videosdk-live/videosdk-rtc-nodejs-sdk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video SDK RTC Node JS Auth Code Sample

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.

Getting started

  1. Clone the repo

    git clone https://github.com/videosdk-live/videosdk-rtc-nodejs-sdk-example
  2. Copy the .env.example file to .env file.

    cp .env.example .env
  3. 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
    
  4. Install NPM packages

    npm install
  5. Run the server

    npm run start

Resources

Visit, https://www.videosdk.live/ to generate API key and secret.