Zoom Video Sdk 标志

Zoom Video Sdk

组织
zoom
zoom-video-sdk

Zoom Video SDK for building custom video experiences (not Zoom meetings) on web, React Native, Flutter, Android, iOS, macOS, Windows, Unity, and Linux platforms. Use when you want full control over the video UI and experience.

概览

发布者zoom
代码仓库skills
技能名称zoom-video-sdk
星标数
78
复刻数
16
附带文件
215
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 215 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 zoom 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Zoom Video Sdk AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/zoom/skills/tree/main/skills/video-sdk
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zoom/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/video-sdk .claude/skills/zoom-video-sdk
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Zoom Video Sdk,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Zoom Video Sdk。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Zoom Video Sdk 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Zoom Video SDK

Build custom video experiences powered by Zoom's infrastructure.

Current Release Snapshot

Verified from the public changelog and package registries on 2026-07-10:

Platform familyCurrent release
Android, iOS, Linux, macOS, Windows2.6.0
React Native2.5.10
Flutter2.5.10
Web2.5.0
Unity wrapper0.0.2

Native 2.6.0 contains breaking changes. Read the native 2.6.0 upgrade reference before using the older 2.5.10 package inventories bundled into several child skills.

Hard Routing Guardrail (Read First)

  • If the user asks for custom real-time video app behavior (topic/session join, custom rendering, attach/detach), route to Video SDK.
  • Do not switch to REST meeting endpoints for Video SDK join flows.
  • Video SDK does not use Meeting IDs, join_url, or Meeting SDK join payload fields (meetingNumber, passWord).
  • After confirming Video SDK, select one platform child skill before generating implementation code.

Platform Router

User contextPrimary child skill
Browser, JavaScript, TypeScript, React, Vue, Angular, Svelteweb/SKILL.md
React Native mobile wrapperreact-native/SKILL.md
Flutter mobile wrapperflutter/SKILL.md
Native Android, Java, Kotlin, AARandroid/SKILL.md
Native iOS, Objective-C, Swift, XCFrameworkios/SKILL.md
Native macOS, Objective-C, Swift, Cocoamacos/SKILL.md
Windows native, C++, Win32, C++/CLIwindows/SKILL.md
Linux native, C++, headless bot, Docker, Qt/GTKlinux/SKILL.md
Unity wrapper or scene integrationunity/SKILL.md

Do not answer from this root's Web quick start when the user selected another platform.

Chaining Order

Use this order so workflow guidance and version-specific APIs remain distinct:

  1. Read this root skill to confirm Video SDK rather than Meeting SDK.
  2. Read the selected platform SKILL.md for architecture, lifecycle, implementation patterns, and troubleshooting.
  3. If the downloaded SDK package contains a bundled API skill, read that skill and its relevant Markdown/JSON pair to verify exact signatures, enums, callbacks, threading, and role requirements.
  4. Cross-check generated API documentation against package headers, TypeScript source, or exported wrapper APIs.
  5. Load only the cross-product skill required by the feature using the table below.
  6. Return to the platform runbook for validation and troubleshooting.
Cross-product needChain to
Session JWT contractreferences/authorization.md and references/token-contract-test-spec.md
Browser/device/network preflightprobe-sdk
RTMS signaling, media sockets, protocol, and backend processingzoom-rtms
OAuth or REST administration outside the in-session SDKzoom-oauth

For React Native, Flutter, and Unity, never invent wrapper APIs from native Android/iOS/Windows documentation. Use native documentation only to understand behavior after confirming the wrapper exports the feature.

Meeting SDK vs Video SDK

FeatureMeeting SDKVideo SDK
UIDefault Zoom UI or Custom UIFully custom UI (you build it)
ExperienceZoom meetingsVideo sessions
BrandingLimited customizationFull branding control
FeaturesFull Zoom featuresCore video features

UI Options (Web)

Video SDK gives you full control over the UI:

OptionDescription
UI ToolkitPre-built React components (low-code)
Custom UIBuild your own UI using the SDK APIs

Prerequisites

  • Zoom Video SDK credentials from Marketplace
  • SDK Key and Secret
  • A development environment for the selected platform

Need to create the Video SDK app first? Use Marketplace app management for app creation, manifest validation, app-type quirks, and credential response shapes before generating Video SDK session JWTs.

Need a Video SDK session JWT? Start with authorization. Use zoom-oauth only for OAuth or REST API flows outside the session join contract.

Need pre-join diagnostics on web? Use probe-sdk before Video SDK join() to reduce first-minute failures.

Start troubleshooting fast: Use the 5-Minute Runbook before deep debugging.

SDK-Bundled API Skills

The reviewed Video SDK 2.5.10 packages include version-matched API skills and paired Markdown/JSON documentation for several native platforms. These are historical package snapshots now that native 2.6.0 is public. Keep the platform skill in this repository as the workflow entry point, then use the bundled skill from the exact package you deploy to verify signatures, enums, callbacks, threading, role requirements, and object lifetime.

PlatformSDK-bundled skill
AndroidDocs/skills/zm-videosdk-android-api/SKILL.md
iOSSample-Libs/Docs/zm-videosdk-ios-api/SKILL.md
macOSDocs/skills/zm-videosdk-macos-api/SKILL.md
WindowsSample-Libs/<arch>/Docs/skills/zm-videosdk-windows-api/SKILL.md
LinuxDocs/videosdk/skills/zm-videosdk-linux-api/SKILL.md
React Nativedocs/ai-docs/skills/zm-videosdk-react-native-api/SKILL.md

Flutter and Unity packages in this review do not include an equivalent bundled SKILL.md. Web now includes an official build skill and AI-readable JSON type definitions; route Web work through web/SKILL.md and use web/references/type-definitions-json.md for exact 2.5.0 API verification. The older React/Vite sample remains mapped in web/references/sample-app-2.4.5.md. Do not infer platform parity from another package; verify against that platform's exported API.

Quick Start (Web)

NPM Usage (Bundler like Vite/Webpack)

javascript
import ZoomVideo from '@zoom/videosdk';

const client = ZoomVideo.createClient();
await client.init('en-US', 'Global', { patchJsMedia: true });
await client.join(topic, signature, userName, password);

// IMPORTANT: getMediaStream() ONLY works AFTER join()
const stream = client.getMediaStream();
await stream.startVideo();
await stream.startAudio();

CDN Usage (No Bundler)

WARNING: Ad blockers block source.zoom.us. Self-host the SDK to avoid issues.

bash
# Download SDK locally example VERSION=2.5.0
curl "https://source.zoom.us/videosdk/zoom-video-{VERSION}.min.js" -o js/zoom-video-sdk.min.js
html
<script src="js/zoom-video-sdk.min.js"></script>
javascript
// CDN exports as WebVideoSDK, NOT ZoomVideo
// Must use .default property
const ZoomVideo = WebVideoSDK.default;
const client = ZoomVideo.createClient();

await client.init('en-US', 'Global', { patchJsMedia: true });
await client.join(topic, signature, userName, password);

// IMPORTANT: getMediaStream() ONLY works AFTER join()
const stream = client.getMediaStream();
await stream.startVideo();
await stream.startAudio();

ES Module with CDN (Race Condition Fix)

When using <script type="module"> with CDN, SDK may not be loaded yet:

javascript
// Wait for SDK to load before using
function waitForSDK(timeout = 10000) {
  return new Promise((resolve, reject) => {
    if (typeof WebVideoSDK !== 'undefined') {
      resolve();
      return;
    }
    const start = Date.now();
    const check = setInterval(() => {
      if (typeof WebVideoSDK !== 'undefined') {
        clearInterval(check);
        resolve();
      } else if (Date.now() - start > timeout) {
        clearInterval(check);
        reject(new Error('SDK failed to load'));
      }
    }, 100);
  });
}

// Usage
await waitForSDK();
const ZoomVideo = WebVideoSDK.default;
const client = ZoomVideo.createClient();

SDK Lifecycle (CRITICAL ORDER)

The SDK has a strict lifecycle. Violating it causes silent failures.

1. Create client:     client = ZoomVideo.createClient()
2. Initialize:        await client.init('en-US', 'Global', options)
3. Join session:      await client.join(topic, signature, userName, password)
4. Get stream:        stream = client.getMediaStream()  ← ONLY AFTER JOIN
5. Start media:       await stream.startVideo() / await stream.startAudio()

Common Mistake (Silent Failure):

javascript
// ❌ WRONG: Getting stream before joining
const client = ZoomVideo.createClient();
await client.init('en-US', 'Global');
const stream = client.getMediaStream();  // Returns undefined!
await client.join(...);

// ✅ CORRECT: Get stream after joining
const client = ZoomVideo.createClient();
await client.init('en-US', 'Global');
await client.join(...);
const stream = client.getMediaStream();  // Works!

Video Rendering (Event-Driven)

The SDK is event-driven. You must listen for events and render videos accordingly.

Use attachVideo() NOT renderVideo()

javascript
import { VideoQuality } from '@zoom/videosdk';

// Start your camera
await stream.startVideo();

// Attach video - returns element to append to DOM
const element = await stream.attachVideo(userId, VideoQuality.Video_360P);
container.appendChild(element);

// Detach when done
await stream.detachVideo(userId);

Required Events

javascript
// When other participant's video turns on/off
client.on('peer-video-state-change', async (payload) => {
  const { action, userId } = payload;
  if (action === 'Start') {
    const el = await stream.attachVideo(userId, VideoQuality.Video_360P);
    container.appendChild(el);
  } else {
    await stream.detachVideo(userId);
  }
});

// When participants join/leave
client.on('user-added', (payload) => { /* check bVideoOn */ });
client.on('user-removed', (payload) => { stream.detachVideo(payload.userId); });

See web/references/web.md for complete event handling patterns.

Key Concepts

ConceptDescription
SessionVideo session (not a meeting)
TopicSession identifier (any string you choose)
SignatureJWT for authorization
MediaStreamAudio/video stream control

Session Creation Model

Important: Video SDK sessions are created just-in-time, not in advance.

AspectVideo SDKMeeting SDK
Pre-creationNOT requiredCreate meeting via API first
Session startFirst participant joins with topicJoin existing meeting ID
TopicAny string (you define it)Meeting ID from API
SchedulingN/A - sessions are ad-hocMeetings can be scheduled

How Sessions Work

  1. No pre-creation needed: Sessions don't exist until someone joins
  2. Topic = Session ID: Any participants joining with the same topic string join the same session
  3. First join creates it: The session is created when the first participant joins
  4. No meeting ID: There's no numeric meeting ID like in Zoom Meetings
javascript
// Session is created on-the-fly when first user joins
// Any string can be the topic - it becomes the session identifier
await client.join('my-custom-session-123', signature, 'User Name');

// Other participants join the SAME session by using the SAME topic
await client.join('my-custom-session-123', signature, 'Another User');

Signature Endpoint Setup

The signature endpoint must be accessible from your frontend without CORS issues.

Option 1: Same-Origin Proxy (Recommended)

nginx
# Nginx config
location /api/ {
    proxy_pass http://YOUR_BACKEND_HOST:3005/api/;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
}
javascript
// Frontend uses relative URL (same origin)
const response = await fetch('/api/signature', { ... });

Option 2: CORS Configuration

javascript
// Express.js backend
const cors = require('cors');
app.use(cors({
  origin: ['https://your-domain.com'],
  credentials: true
}));

WARNING: Mixed content (HTTPS page → HTTP API) will be blocked by browsers.

Use Cases

Use CaseDescription
Video SDK BYOS (Bring Your Own Storage)Save recordings directly to your S3 bucket

BYOS (Bring Your Own Storage)

Video SDK feature - Zoom saves cloud recordings directly to your Amazon S3 bucket. No downloading required.

Official docs: https://developers.zoom.us/docs/build/storage/

Prerequisites:

  • Video SDK account with Cloud Recording add-on (Universal Credit includes this)
  • AWS S3 bucket

Authentication options:

  1. AWS Access Key - simpler setup
  2. Cross Account Access - more secure (IAM role assumption)

S3 path structure:

Buckets/{bucketName}/cmr/byos/{YYYY}/{MM}/{DD}/{GUID}/cmr_byos/

Key benefits:

  • Zero download bandwidth costs
  • Direct storage during recording
  • Config-only setup (no webhook/download code needed)

Setup location: Developer Portal → Account Settings → General → Communications Content Storage Location

See ../general/use-cases/video-sdk-bring-your-own-storage.md for complete setup guide.

Detailed References

UI & Components

Platform Guides

Sample Repositories

Official (by Zoom)

Full list: See general/references/community-repos.md

Resources

Environment Variables

Linux Operations

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 140 个文件。

常见问题

Zoom Video Sdk AI 技能有什么作用?

Zoom Video SDK for building custom video experiences (not Zoom meetings) on web, React Native, Flutter, Android, iOS, macOS, Windows, Unity, and Linux platforms. Use when you want full control over the video UI and experience.

为什么在 TypingMind 中使用 Zoom Video Sdk?

因为您只需安装一次,就能搭配任何模型使用。Zoom Video Sdk 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Zoom Video Sdk?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/zoom/skills/tree/main/skills/video-sdk。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Zoom Video Sdk?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Zoom Video Sdk 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Zoom Video Sdk 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Zoom Video Sdk AI 技能免费吗?

是的。zoom 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇