Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/videosdk-live/videosdk-rtc-nodejs-sdk-example

Example of Video SDK app server using Node JS
https://github.com/videosdk-live/videosdk-rtc-nodejs-sdk-example

javascript live-streaming node-js nodejs realtime video-conferencing video-sdk webrtc

Last synced: 3 months ago
JSON representation

Example of Video SDK app server using Node JS

Awesome Lists containing this project

README

        

# 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

```sh
git clone https://github.com/videosdk-live/videosdk-rtc-nodejs-sdk-example
```

2. Copy the `.env.example` file to `.env` file.

```sh
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

```sh
npm install
```

5. Run the server

```sh
npm run start
```

## Resources

Visit, [https://www.videosdk.live/](https://www.videosdk.live/) to generate API key and secret.