Getting Started - JavaScript SDK
There are two methods to install the JavaScript SDK.
First Method: Install via the <script>
tag.
Import the given library using the <script>
tag. The easiest way to get started is to load this library from a CDN and add a couple of lines of code to your web page or app.
Install via <script>
<html>
<head>....</head>
<body>
.....
<script src="https://sdk.videosdk.live/js-sdk/0.0.86/videosdk.js"></script>
</body>
</html>
Second Method: Install using the package manager.
An alternate method is to install the library in your app and bundle it using webpack or rollup.
Npm
npm install @videosdk.live/js-sdk
Yarn
yarn add @videosdk.live/js-sdk
Got a Question? Ask us on discord