Skip to content

videosdk-live/videosdk-rtc-javascript-sdk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video SDK Javascript App

What is it?

This code sample demonstrates a one-to-one and group video call application built with Video SDK RTC Javascript SDK

  • Built for serverless video calling experience.
  • Scale it upto 5,000 participants with low code.
  • 10,000 minutes free on monthly basis

Features

  • Video API with real-time audio, video and data streams
  • 5,000+ participants support
  • Chat support with rich media.
  • Screen sharing with HD and Full HD.
  • Play realtime video in meeting
  • Connect it with social media such as Facebook, Youtube etc (RTMP out support).
  • Intelligent speaker switch
  • Record your meetings on cloud
  • Customise UI and built other rich features with our new data streams such as whiteboard, poll, Q & A etc.

Prerequisites

You must have the following installed:

  • Node.js v12+
  • NPM v6+ (comes pre-installed with newer Node versions)

Getting started

  1. Run the authentication server

    Follow instructions from videosdk-rtc-nodejs-sdk-example to run the authentication server.

  2. Clone the repo

    git clone https://github.com/videosdk-live/videosdk-rtc-javascript-sdk-example.git
    
    cd videosdk-rtc-javascript-sdk-example
  3. Create a new file config.js and Copy the config.example.js file's data to config.js file

  4. Update the TOKEN in config.js file.Token would be generated from dashboard https://app.videosdk.live/dashboard

    TOKEN="Your Token Here"
    
  5. If one doesn't want to give their token then they can generate token using AUTH_URL of their own in config.js file

    AUTH_URL=one's auth url
    
  6. Run the app

    npm install -g live-server
    live-server --port=8000

For more information, visit official documentation

Related