@videosdk.live/js-sdk
v0.0.100
Published
<h1 align="center"> <img src="https://static.videosdk.live/videosdk_logo_website_black.png"/><br/> <p align="center"> Video SDK for JavaScript<br/> <a href="https://videosdk.live/">videosdk.live</a> </p> </h1>
Downloads
41,772
Readme
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.
Browser Support
Visit our official guide for Browser Support
Demo App
Check out demo here
Setup
With javascript SDK, you can
- Customise call layout and interface
- Manage all the events related to meetings and partcipants
- Call routines on particular event.
To use javascript-sdk
, you have two choices to make either use npm
module or <script>
tag in your bundler or direct in HTML.
Loading the library using <script>
tag
You can import this library using <script>
tag. The easiest way to get started is to load this library from CDN, and add a couple of lines of code to your web page or app.
<html>
<head>....</head>
<body>
.....
<script src="https://sdk.videosdk.live/js-sdk/0.0.98/videosdk.js"></script>
</body>
</html>
Install JS SDK in your app / Bundling with webpack and other tools
Another interesting option is to install library in your app and bundle it using webpack or rollup.
From npm package:
npm install @videosdk.live/js-sdk
From yarn package:
yarn add @videosdk.live/js-sdk
Then in your application code:
const VideoSDK = require("@videosdk.live/js");
VideoSDK.initMeeting({...})
Or
import VideoSDK from "@videosdk.live/js";
VideoSDK.initMeeting({...})
Documentation
Check the components and their usage in our documentation.
Quick Start
Check the Quick Start guide to our documentation.
Try it out
Run the Code sample to see it in action.