Video Calling API for JavaScript with Video SDK
Easily build beautiful video conferencing into your JavaScript app.
Fully Customizable UI
Native Mobile SDK’s
5000 Participant Support
RTMP Live Stream
Cloud Recording
HD Screen Sharing
Breakout Rooms
Real-time Messaging
Installation
1. Install the package via your favorite package manager
1# npm
2npm install @videosdk.live/js-sdk --save
3
4# yarn
5yarn add @videosdk.live/js-sdk
2. Initialize Video SDK factory
1import VideoSDK from "@videosdk.live/js-sdk";
2
3// Configure authentication token
4VideoSDK.config("<Authentication-token>");
5
6// Initilize meeting
7const meeting = VideoSDK.initMeeting({
8 meetingId: "<Id-on-meeting>", // required
9 name: "<Name-of-participant>", // required
10 micEnabled: "<Flag-to-enable-mic>", // optional, default: true
11 webcamEnabled: "<Flag-to-enable-webcam>", // optional, default: true
12 maxResolution: "<Maximum-resolution>", // optional, default: "hd"
13});
3. Join the meeting
1meeting?.join();