Get started with the Video SDK for Web in a few simple steps.
- To get Video SDK credentials, navigate to the Build App page on the Zoom App Marketplace, and choose the Video SDK app type.
- Under App Credentials, you will find your Video SDK Key and Secret. We will use these credentials in the next section to generate a Video SDK JWT to authorize the Video SDK.
- Now you can add the Video SDK for Web to your project. You can add the Video SDK for Web to your project by installing it via NPM or from the Zoom Video SDK CDN.
To install the Video SDK for Web via NPM, in your project, run the following command in terminal:
$ npm install @zoom/videosdk --save
Add the Video SDK for Web to your project through NPM.
In the component file where you want to use the Video SDK for Web, import
ZoomVideo and create the client.
import ZoomVideo from '@zoom/videosdk'const client = ZoomVideo.createClient()
Then init the SDK and declare the
stream which we will define later:
client.init('en-US', 'CDN')let stream
Now that you've imported the SDK, you can start and join sessions.