npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zoom/videosdk

v1.12.14

Published

Zoom Web Video SDK

Downloads

61,801

Readme

Zoom Video SDK for Web

Use of this SDK is subject to our Terms of Use.

The Zoom Video SDK enables you to build custom video experiences with Zoom's core technology through a highly optimized WebAssembly module.

Installation

In your frontend project, install the Video SDK:

$ npm install @zoom/videosdk --save

Usage

Zoom Video SDK

The Video SDK provides video, audio, screen sharing, chat, data streams, and more, as a service. You can build with all of these features, or pick and choose. The Video SDK also comes with a full set of server side APIs and Webhooks.

In the component file where you want to use the Video SDK, 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', 'Global', { patchJsMedia: true })

let stream

Now we will start or join the session. Here are the required parameters for the client.join() function.

| Parameter | Parameter Description | | -----------------------|-------------| | topic | Required, a session name of your choice or the name of the session you are joining. | | token | Required, your Video SDK JWT. | | userName | Required, a name for the participant. | | password | Optional, a session passcode of your choice or the passcode of the session you are joining. |

Then start or join the session and define the stream, which will be used for core features.

client.join(topic, token, userName, password).then(() => {
  stream = client.getMediaStream()
}).catch((error) => {
  console.log(error)
})

Now that we are in a session, we can start using core features like stream.startVideo().

Core Features:

For the full list of features and event listeners, as well as additional guides, see our Video SDK docs.

Sample Apps

Use ZFG(Zoom For Government). You need apply new sdk key for ZFG.

option1 change package.json and use zfg specific version

"@zoom/videosdk": "1.11.0-zfg",
zmClient.init('en-US', 'Global');

option2 change dev.conf and use ZFG init option webEndpoint

zmClient.init('en-US', `https://source.zoomgov.com/videosdk/1.11.0/lib`, {
   webEndpoint: "www.zoomgov.com",
});

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.

Open Source Software attribution