
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@zoom/videosdk
Advanced tools
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.
In your frontend project, install the Video SDK:
$ npm install @zoom/videosdk --save
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()
.
For the full list of features and event listeners, as well as additional guides, see our Video SDK docs.
"@zoom/videosdk": "1.11.0-zfg",
zmClient.init('en-US', 'Global');
zmClient.init('en-US', `https://source.zoomgov.com/videosdk/1.11.0/lib`, {
webEndpoint: "www.zoomgov.com",
});
If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.
FAQs
Zoom Web Video SDK
The npm package @zoom/videosdk receives a total of 22,686 weekly downloads. As such, @zoom/videosdk popularity was classified as popular.
We found that @zoom/videosdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.