Skip to content
cccskills
FreePublished on GitHub

build-zoom-video-sdk-app

Build custom video calling experiences with Zoom Video SDK. The skill guides session joining, audio and video control, participant event handling, and custom interfaces, with references for web, mobile, and desktop implementations.

OriginalShow the original description

Reference skill for Zoom Video SDK. Use after routing to a custom-session workflow when the user needs full control over the video experience rather than an actual Zoom meeting.

See how to install

Good for

  • Building a video calling app with a custom interface
  • Implementing session joining and token authentication
  • Updating video displays as participants join or leave
  • Saving cloud recordings directly to Amazon S3

Files included (145)

  • SKILL.md13.6 KB
  • android/android.md1.2 KB
  • android/concepts/architecture.md590 B
  • android/concepts/lifecycle-workflow.md689 B
  • android/examples/session-join-pattern.md660 B
  • android/references/android-reference-map.md496 B
  • android/references/environment-variables.md728 B
  • android/references/versioning-and-compatibility.md680 B
  • android/RUNBOOK.md2.3 KB
  • android/scenarios/high-level-scenarios.md770 B
  • android/SKILL.md1.4 KB
  • android/troubleshooting/common-issues.md630 B
  • flutter/concepts/high-level-scenarios.md641 B
  • flutter/concepts/lifecycle-workflow.md599 B
  • flutter/concepts/sdk-architecture-pattern.md715 B
  • flutter/examples/event-handling-pattern.md1.1 KB
  • flutter/examples/session-join-pattern.md466 B
  • flutter/examples/setup-guide.md2.2 KB
  • flutter/references/flutter-reference.md415 B
  • flutter/references/module-map.md515 B
  • flutter/references/official-sources.md508 B
  • flutter/RUNBOOK.md2.3 KB
  • flutter/SKILL.md3.0 KB
  • flutter/troubleshooting/common-issues.md1.9 KB
  • flutter/troubleshooting/deprecated-and-contradictions.md1.0 KB
  • flutter/troubleshooting/version-drift.md435 B
  • ios/concepts/architecture.md487 B
  • ios/concepts/lifecycle-workflow.md578 B
  • ios/examples/session-join-pattern.md604 B
  • ios/ios.md986 B
  • ios/references/environment-variables.md753 B
  • ios/references/ios-reference-map.md478 B
  • ios/references/versioning-and-compatibility.md643 B
  • ios/RUNBOOK.md2.3 KB
  • ios/scenarios/high-level-scenarios.md756 B
  • ios/SKILL.md1.3 KB
  • ios/troubleshooting/common-issues.md650 B
  • linux/concepts/raw-data-vs-canvas.md16.8 KB
  • linux/concepts/sdk-architecture-pattern.md14.9 KB
  • linux/concepts/singleton-hierarchy.md15.0 KB
  • linux/examples/chat.md215 B
  • linux/examples/cloud-recording.md395 B
  • linux/examples/command-channel.md9.7 KB
  • linux/examples/live-streaming.md234 B
  • linux/examples/qt-gtk-integration.md261 B
  • linux/examples/raw-audio-capture.md215 B
  • linux/examples/raw-video-capture.md251 B
  • linux/examples/session-join-pattern.md21.4 KB
  • linux/examples/transcription.md255 B
  • linux/examples/virtual-audio-video.md279 B
  • linux/linux.md25.8 KB
  • linux/references/linux-reference.md26.8 KB
  • linux/RUNBOOK.md2.2 KB
  • linux/SKILL.md15.4 KB
  • linux/troubleshooting/build-errors.md2.0 KB
  • linux/troubleshooting/common-issues.md5.3 KB
  • linux/troubleshooting/pulseaudio-setup.md1.7 KB
  • linux/troubleshooting/qt-dependencies.md1.9 KB
  • macos/concepts/architecture.md480 B
  • macos/concepts/lifecycle-workflow.md586 B
  • macos/examples/session-join-pattern.md600 B
  • macos/macos.md987 B
  • macos/references/environment-variables.md733 B
  • macos/references/macos-reference-map.md458 B
  • macos/references/versioning-and-compatibility.md647 B
  • macos/RUNBOOK.md2.3 KB
  • macos/scenarios/high-level-scenarios.md791 B
  • macos/SKILL.md1.4 KB
  • macos/troubleshooting/common-issues.md587 B
  • react-native/concepts/high-level-scenarios.md629 B
  • react-native/concepts/lifecycle-workflow.md498 B
  • react-native/concepts/sdk-architecture-pattern.md670 B
  • react-native/examples/event-handling-pattern.md866 B
  • react-native/examples/session-join-pattern.md422 B
  • react-native/examples/setup-guide.md1.6 KB
  • react-native/references/module-map.md459 B
  • react-native/references/official-sources.md515 B
  • react-native/references/react-native-reference.md667 B
  • react-native/RUNBOOK.md2.3 KB
  • react-native/SKILL.md2.9 KB
  • react-native/troubleshooting/common-issues.md1.7 KB
  • react-native/troubleshooting/deprecated-and-contradictions.md1.4 KB
  • react-native/troubleshooting/version-drift.md419 B
  • references/authorization.md3.9 KB
  • references/environment-variables.md1.3 KB
  • references/forum-top-questions.md1.9 KB
  • references/licensing-and-entitlements.md760 B
  • references/session-lifecycle.md959 B
  • references/token-contract-test-spec.md1.6 KB
  • references/triage-intake.md1.2 KB
  • references/troubleshooting.md1.8 KB
  • references/ui-toolkit.md5.6 KB
  • RUNBOOK.md2.4 KB
  • unity/concepts/architecture.md535 B
  • unity/concepts/lifecycle-workflow.md639 B
  • unity/examples/session-join-pattern.md546 B
  • unity/references/environment-variables.md739 B
  • unity/references/unity-reference-map.md465 B
  • unity/references/versioning-and-compatibility.md649 B
  • unity/RUNBOOK.md2.3 KB
  • unity/scenarios/high-level-scenarios.md792 B
  • unity/SKILL.md1.4 KB
  • unity/troubleshooting/common-issues.md646 B
  • unity/unity.md1.0 KB
  • web/concepts/sdk-architecture-pattern.md8.3 KB
  • web/concepts/singleton-hierarchy.md18.9 KB
  • web/examples/chat.md12.0 KB
  • web/examples/command-channel.md7.1 KB
  • web/examples/event-handling.md14.1 KB
  • web/examples/framework-integrations.md10.8 KB
  • web/examples/react-hooks.md9.8 KB
  • web/examples/recording.md10.4 KB
  • web/examples/screen-share.md12.1 KB
  • web/examples/session-join-pattern.md10.2 KB
  • web/examples/transcription.md13.9 KB
  • web/examples/video-rendering.md10.0 KB
  • web/references/events-reference.md12.8 KB
  • web/references/web-reference.md15.5 KB
  • web/references/web.md26.2 KB
  • web/RUNBOOK.md2.5 KB
  • web/SKILL.md25.8 KB
  • web/troubleshooting/common-issues.md11.0 KB
  • windows/concepts/canvas-vs-raw-data.md10.1 KB
  • windows/concepts/sdk-architecture-pattern.md8.6 KB
  • windows/concepts/singleton-hierarchy.md22.2 KB
  • windows/examples/cloud-recording.md8.9 KB
  • windows/examples/command-channel.md8.9 KB
  • windows/examples/dotnet-winforms/README.md38.0 KB
  • windows/examples/raw-audio-capture.md7.2 KB
  • windows/examples/raw-video-capture.md13.0 KB
  • windows/examples/screen-share-subscription.md18.4 KB
  • windows/examples/send-raw-audio.md9.1 KB
  • windows/examples/send-raw-video.md10.7 KB
  • windows/examples/session-join-pattern.md17.8 KB
  • windows/examples/transcription.md11.7 KB
  • windows/examples/video-rendering.md13.3 KB
  • windows/references/delegate-methods.md32.1 KB
  • windows/references/samples.md7.7 KB
  • windows/references/windows-reference.md42.7 KB
  • windows/RUNBOOK.md2.2 KB
  • windows/SKILL.md40.2 KB
  • windows/troubleshooting/build-errors.md6.0 KB
  • windows/troubleshooting/common-issues.md7.2 KB
  • windows/troubleshooting/windows-message-loop.md6.9 KB
  • windows/windows.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

/build-zoom-video-sdk-app

Background reference for fully custom video-session products. Prefer plan-zoom-product first when the boundary between Meeting SDK and Video SDK is still unclear.

Build custom video experiences powered by Zoom's infrastructure.

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).

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
  • Web development environment

Need help with OAuth or signatures? See the zoom-oauth skill for authentication flows.

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.

Quick Start (Web)

NPM Usage (Bundler like Vite/Webpack)

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.

# Download SDK locally
curl "https://source.zoom.us/videosdk/zoom-video-1.12.0.min.js" -o js/zoom-video-sdk.min.js
<script src="js/zoom-video-sdk.min.js"></script>
// 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:

// 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):

// ❌ 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()

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

// 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
// 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 config
location /api/ {
    proxy_pass http://YOUR_BACKEND_HOST:3005/api/;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
}
// Frontend uses relative URL (same origin)
const response = await fetch('/api/signature', { ... });

Option 2: CORS Configuration

// 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)

TypeRepositoryStars
Webvideosdk-web-sample137
Web NPMvideosdk-web56
Authvideosdk-auth-endpoint-sample23
UI Toolkit Webvideosdk-zoom-ui-toolkit-web17
UI Toolkit Reactvideosdk-zoom-ui-toolkit-react-sample17
Next.jsvideosdk-nextjs-quickstart16
TelehealthVideoSDK-Web-Telehealth11
Linuxvideosdk-linux-raw-recording-sample-

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

Resources

Environment Variables

Linux Operations

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Review a design or web page against WCAG 2.1 AA, an accessibility standard. Organize findings on contrast, keyboard access, forms, and screen reader behavior, with severity levels and practical recommendations for fixes.

  • Review accessibility before design handoff
  • Check text and interface color contrast
  • Review keyboard navigation and focus behavior
anthropics/knowledge-work-plugins30.3KUpdated Oct 17, 2026

account-context

FreeSummary

Build a single brief on an existing customer using available sales records, emails, documents, call notes, and internal chat. Understand the current situation, key contacts, recent discussions, and gaps that may need attention.

  • Preparing for a meeting with an existing customer
  • Catching up on an account during a handover
  • Reviewing recent discussions and stalled opportunities
anthropics/knowledge-work-plugins30.3KUpdated Oct 17, 2026

account-plan

FreeSummary

Build or refresh a strategic customer account plan from sales records, emails, and meeting transcripts. Organize goals, stakeholders, growth opportunities, risks, and dated actions into a document, then sync approved highlights to the customer relationship management system.

  • Creating a quarterly plan for a key customer
  • Refreshing an existing account plan
  • Reviewing stakeholder coverage and growth opportunities
anthropics/knowledge-work-plugins30.3KUpdated Oct 17, 2026

account-research

FreeSummary

Research sales accounts using Common Room data to summarize company details, buying signals, ownership, and key contacts. Answer specific questions directly or prepare a broader briefing with evidence-based next steps, clearly identifying missing information.

  • Prepare a company briefing before a sales conversation
  • Check buying signals and recent account activity
  • Find account owners and key contacts
anthropics/knowledge-work-plugins30.3KUpdated Oct 17, 2026

account-research

FreeSummary

Research prospective companies and contacts, check existing customer records, and assess fit against your ideal customer profile. Receive a sourced brief covering recent developments, likely priorities, outreach talking points, and a suggested next step.

  • Researching a company before a sales approach
  • Checking existing account records and ownership
  • Assessing fit against your ideal customer profile
anthropics/knowledge-work-plugins30.3KUpdated Oct 17, 2026

account-tiering

FreeSummary

Score and group accounts by customer fit and engagement, such as recent contact and open sales opportunities. Identify where to focus sales effort, choose next actions, and spot promising accounts with neglected outreach or missing information.

  • Prioritize a portfolio of assigned accounts
  • Find strong-fit accounts that need outreach
  • Identify promising accounts with no recent activity
anthropics/knowledge-work-plugins30.3KUpdated Oct 17, 2026

See all skills by anthropics

Report a problem with this skill