[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718KZ1NNZFHRCFETTEWEQT6":3,"skill-same:01M718KZ1NNZFHRCFETTEWEQT6":166},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":6,"updatedAt":61,"install":62,"resources":75},"01M718KZ1NNZFHRCFETTEWEQT6","video-sdk\u002Fwindows",null,"Zoom Video SDK for Windows - C++ integration for video sessions, raw audio\u002Fvideo capture, screen sharing, recording, and real-time communication","anthropics\u002Fknowledge-work-plugins","anthropics","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F76263028?v=4","01M697XGDPXJAVQ8391V2BCYTE","Anthropic","01M7188MPC48111TN566QNQE3X",35660,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"video sdk","windows","video sdk windows","sdk","Video","real-time","data","communication","false","integration","sharing","zoom","custom","sessions","for","c++","screen","time","Audio","recording","2026-11-10 10:12:30",false,"---\nname: video-sdk\u002Fwindows\ndescription: \"Zoom Video SDK for Windows - C++ integration for video sessions, raw audio\u002Fvideo capture, screen sharing, recording, and real-time communication\"\nuser-invocable: false\ntriggers:\n  - \"video sdk windows\"\n  - \"windows video sdk\"\n  - \"video sdk raw data windows\"\n  - \"windows custom video\"\n  - \"c++ video sdk\"\n---\n\n# Zoom Video SDK - Windows Development\n\nExpert guidance for developing with the Zoom Video SDK on Windows. This SDK enables custom video applications, raw media capture\u002Finjection, cloud recording, live streaming, and real-time transcription on Windows platforms.\n\n**Official Documentation**: https:\u002F\u002Fdevelopers.zoom.us\u002Fdocs\u002Fvideo-sdk\u002Fwindows\u002F\n**API Reference**: https:\u002F\u002Fmarketplacefront.zoom.us\u002Fsdk\u002Fcustom\u002Fwindows\u002F\n**Sample Repository**: https:\u002F\u002Fgithub.com\u002Fzoom\u002Fvideosdk-windows-rawdata-sample\n\n## Quick Links\n\n**New to Video SDK? Follow this path:**\n\n1. **[SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)** - Universal 3-step pattern for ANY feature\n2. **[Session Join Pattern](examples\u002Fsession-join-pattern.md)** - Complete working code to join a session\n3. **[Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)** - **CRITICAL**: Fix callbacks not firing\n4. **[Video Rendering](examples\u002Fvideo-rendering.md)** - Display video with Canvas API\n\n**Reference:**\n- **[Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)** - 5-level SDK navigation map\n- **[API Reference](references\u002Fwindows-reference.md)** - Methods, error codes, timing rules\n- **[Delegate Methods](references\u002Fdelegate-methods.md)** - All 80+ callback methods\n- **[Sample Applications](references\u002Fsamples.md)** - Official samples guide\n- **[windows.md](windows.md)** - Secondary overview doc (pointer-style)\n- **[SKILL.md](SKILL.md)** - Complete documentation navigation\n\n**Having issues?**\n- Callbacks not firing → [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)\n- Build errors → [Build Errors Guide](troubleshooting\u002Fbuild-errors.md)\n- Video subscribe fails → [Video Rendering](examples\u002Fvideo-rendering.md) (subscribe in `onUserVideoStatusChanged`)\n- Quick diagnostics → [Common Issues](troubleshooting\u002Fcommon-issues.md)\n\n**Building a Custom UI?**\n- [Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md) - Choose your rendering approach\n- [Raw Video Capture](examples\u002Fraw-video-capture.md) - YUV420 frame processing\n\n## SDK Overview\n\nThe Zoom Video SDK for Windows is a C++ library that provides:\n- **Session Management**: Join\u002Fleave video SDK sessions\n- **Raw Data Access**: Capture raw audio\u002Fvideo frames (YUV420, PCM)\n- **Raw Data Injection**: Send custom audio\u002Fvideo into sessions\n- **Screen Sharing**: Share screens or inject custom share sources\n- **Cloud Recording**: Record sessions to Zoom cloud\n- **Live Streaming**: Stream to RTMP endpoints (YouTube, etc.)\n- **Chat & Commands**: In-session messaging and command channels\n- **Live Transcription**: Real-time speech-to-text\n- **Subsessions**: Breakout room support\n- **Whiteboard**: Collaborative whiteboard features\n- **Annotations**: Screen share annotations\n- **C# Integration**: C++\u002FCLI wrapper for .NET applications\n\n## Prerequisites\n\n### System Requirements\n\n- **OS**: Windows 10 (1903 or later) or Windows 11\n- **Architecture**: x64 (recommended), x86, or ARM64\n- **Visual Studio**: 2019 or 2022 (Community, Professional, or Enterprise)\n- **Windows SDK**: 10.0.19041.0 or later\n- **.NET Framework**: 4.8 or later (for C# applications)\n\n### Visual Studio Workloads\n\nInstall these workloads via Visual Studio Installer:\n\n1. **Desktop development with C++**\n   - MSVC v142 or v143 compiler\n   - Windows 10\u002F11 SDK\n   - C++ CMake tools (optional)\n\n2. **.NET desktop development** (for C# applications)\n   - .NET Framework 4.8 targeting pack\n   - C++\u002FCLI support\n\n## Quick Start\n\n### C++ Application\n\n```cpp\n#include \u003Cwindows.h>\n#include \"zoom_video_sdk_api.h\"\n#include \"zoom_video_sdk_interface.h\"\n#include \"zoom_video_sdk_delegate_interface.h\"\n\nUSING_ZOOM_VIDEO_SDK_NAMESPACE\n\n\u002F\u002F 1. Create SDK object\nIZoomVideoSDK* video_sdk_obj = CreateZoomVideoSDKObj();\n\n\u002F\u002F 2. Initialize\nZoomVideoSDKInitParams init_params;\ninit_params.domain = L\"https:\u002F\u002Fzoom.us\";\ninit_params.enableLog = true;\ninit_params.logFilePrefix = L\"zoom_win_video\";\ninit_params.videoRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.shareRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.audioRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\n\nZoomVideoSDKErrors err = video_sdk_obj->initialize(init_params);\n\n\u002F\u002F 3. Add event listener\nvideo_sdk_obj->addListener(myDelegate);\n\n\u002F\u002F 4. Join session (IMPORTANT: set audioOption.connect = false)\nZoomVideoSDKSessionContext session_context;\nsession_context.sessionName = L\"my-session\";\nsession_context.userName = L\"Windows User\";\nsession_context.token = L\"your-jwt-token\";\nsession_context.videoOption.localVideoOn = false;\nsession_context.audioOption.connect = false;  \u002F\u002F Connect audio after join\nsession_context.audioOption.mute = true;\n\nIZoomVideoSDKSession* session = video_sdk_obj->joinSession(session_context);\n\n\u002F\u002F 5. CRITICAL: Add Windows message pump for callbacks to work\nbool running = true;\nwhile (running) {\n    \u002F\u002F Process Windows messages (required for SDK callbacks)\n    MSG msg;\n    while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {\n        TranslateMessage(&msg);\n        DispatchMessage(&msg);\n    }\n    \n    \u002F\u002F Your application logic here\n    Sleep(10);\n}\n```\n\n### C# Application\n\n```csharp\nusing ZoomVideoSDK;\n\nvar sdkManager = new ZoomSDKManager();\nsdkManager.Initialize();\nsdkManager.JoinSession(\"my-session\", \"jwt-token\", \"User Name\", \"\");\n```\n\n## Key Features\n\n| Feature | Description |\n|---------|-------------|\n| **Session Management** | Join, leave, and manage video sessions |\n| **Raw Video (YUV I420)** | Capture and inject raw video frames |\n| **Raw Audio (PCM)** | Capture and inject raw audio data |\n| **Screen Sharing** | Share screens or custom content |\n| **Cloud Recording** | Record sessions to Zoom cloud |\n| **Live Streaming** | Stream to RTMP endpoints |\n| **Chat** | Send\u002Freceive chat messages |\n| **Command Channel** | Custom command messaging |\n| **Live Transcription** | Real-time speech-to-text |\n| **C# Support** | Full .NET Framework integration |\n\n## Sample Applications\n\n**Official Repository**: https:\u002F\u002Fgithub.com\u002Fzoom\u002Fvideosdk-windows-rawdata-sample\n\n| Sample | Description |\n|--------|-------------|\n| VSDK_SkeletonDemo | Minimal session join - **start here** |\n| VSDK_getRawVideo | Capture YUV420 video frames |\n| VSDK_getRawAudio | Capture PCM audio |\n| VSDK_sendRawVideo | Inject custom video (virtual camera) |\n| VSDK_sendRawAudio | Inject custom audio (virtual mic) |\n| VSDK_CloudRecording | Cloud recording control |\n| VSDK_CommandChannel | Custom command messaging |\n| VSDK_TranscriptionAndTranslation | Live captions |\n\n**See complete guide**: [Sample Applications Reference](references\u002Fsamples.md)\n\n## Critical Gotchas and Best Practices\n\n### ⚠️ CRITICAL: Windows Message Pump Required\n\n**The #1 issue that causes session joins to hang with no callbacks:**\n\nAll Windows applications using the Zoom SDK **MUST** process Windows messages. The SDK uses Windows messages to deliver callbacks like `onSessionJoin()`, `onError()`, etc.\n\n**Problem**: Without a message pump, `joinSession()` appears to succeed but callbacks never fire.\n\n**Solution**: Add this to your main loop:\n\n```cpp\nwhile (running) {\n    \u002F\u002F REQUIRED: Process Windows messages\n    MSG msg;\n    while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {\n        TranslateMessage(&msg);\n        DispatchMessage(&msg);\n    }\n    \n    \u002F\u002F Your application logic\n    Sleep(10);\n}\n```\n\n**Applies to**:\n- Console applications (no automatic message pump)\n- Custom main loops\n- Applications that don't use standard WinMain\u002FWndProc\n\n**GUI applications** using WinMain with standard message loop already have this.\n\n### Audio Connection Strategy\n\n**Best Practice**: Set `audioOption.connect = false` when joining, then connect audio in the `onSessionJoin()` callback.\n\n```cpp\n\u002F\u002F During join\nsession_context.audioOption.connect = false;  \u002F\u002F Don't connect yet\nsession_context.audioOption.mute = true;\n\n\u002F\u002F In onSessionJoin() callback\nvoid onSessionJoin() override {\n    IZoomVideoSDKAudioHelper* audioHelper = video_sdk_obj->getAudioHelper();\n    if (audioHelper) {\n        audioHelper->startAudio();  \u002F\u002F Connect now\n    }\n}\n```\n\n**Why**: This pattern is used in all official Zoom samples. It separates session join from audio initialization for better reliability and error handling.\n\n### All Delegate Callbacks Must Be Implemented\n\nThe `IZoomVideoSDKDelegate` interface has 70+ pure virtual methods. **ALL must be implemented**, even if empty:\n\n```cpp\n\u002F\u002F Required even if you don't use them\nvoid onProxyDetectComplete() override {}\nvoid onUserWhiteboardShareStatusChanged(IZoomVideoSDKUser*, IZoomVideoSDKWhiteboardHelper*) override {}\n\u002F\u002F ... etc\n```\n\n**Tip**: Check the SDK version's `zoom_video_sdk_delegate_interface.h` for the complete list. The interface changes between SDK versions.\n\n### Memory Mode for Raw Data\n\nAlways use heap mode for raw data memory:\n\n```cpp\ninit_params.videoRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.shareRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.audioRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\n```\n\nStack mode can cause issues with large video frames.\n\n### Thread Safety\n\nSDK callbacks execute on SDK threads, not your main thread:\n- Don't perform heavy operations in callbacks\n- Don't call `cleanup()` from within callbacks\n- Use thread-safe queues for passing data to UI thread\n- Use mutexes when accessing shared state\n\n### Consult Official Samples First\n\nWhen SDK behavior is unexpected, **always check the official samples** before troubleshooting:\n\n**Local samples**:\n- `C:\\tempsdk\\Zoom_VideoSDK_Windows_RawDataDemos\\VSDK_SkeletonDemo\\` (simplest)\n- `C:\\tempsdk\\sdksamples\\zoom-video-sdk-windows-2.4.12\\Sample-Libs\\x64\\demo\\`\n\nOfficial samples show correct patterns for:\n- Message pump implementation ✓\n- Audio connection strategy ✓\n- Error handling ✓\n- Memory management ✓\n\n## Video Rendering - Two Approaches\n\nThe Zoom SDK provides **two different ways** to render video. Choose based on your needs.\n\n### 🎯 Canvas API (Recommended for Most Use Cases)\n\n**Best for**: Standard applications, clean video quality, ease of implementation\n\nThe SDK renders video directly to your HWND. **No YUV conversion needed**.\n\n```cpp\n\u002F\u002F Subscribe to a user's video with Canvas API\nIZoomVideoSDKCanvas* canvas = user->GetVideoCanvas();\nif (canvas) {\n    ZoomVideoSDKErrors ret = canvas->subscribeWithView(\n        hwnd,                                    \u002F\u002F Your window handle\n        ZoomVideoSDKVideoAspect_PanAndScan,     \u002F\u002F Fit to window, may crop\n        ZoomVideoSDKResolution_Auto              \u002F\u002F Let SDK choose best resolution\n    );\n    \n    if (ret == ZoomVideoSDKErrors_Success) {\n        \u002F\u002F SDK is now rendering directly to your window!\n    }\n}\n\n\u002F\u002F Unsubscribe when done\ncanvas->unSubscribeWithView(hwnd);\n```\n\n**Advantages**:\n- ✅ **Best quality** - SDK uses optimized, hardware-accelerated rendering\n- ✅ **No artifacts** - Professional video quality\n- ✅ **Simple code** - 3 lines to subscribe\n- ✅ **Better performance** - No CPU-intensive YUV conversion\n- ✅ **Automatic scaling** - SDK handles window resizing\n- ✅ **Aspect ratio** - Built-in aspect ratio handling\n\n**Example from official .NET sample**:\n```cpp\n\u002F\u002F Self video preview\nIZoomVideoSDKCanvas* canvas = myself->GetVideoCanvas();\ncanvas->subscribeWithView(selfVideoHwnd, aspect, resolution);\n\n\u002F\u002F Remote user video\nIZoomVideoSDKCanvas* remoteCanvas = remoteUser->GetVideoCanvas();\nremoteCanvas->subscribeWithView(remoteVideoHwnd, aspect, resolution);\n```\n\n**Video Aspect Options**:\n- `ZoomVideoSDKVideoAspect_Original` - Letterbox\u002Fpillarbox, no cropping\n- `ZoomVideoSDKVideoAspect_FullFilled` - Fill window, may crop edges\n- `ZoomVideoSDKVideoAspect_PanAndScan` - Smart crop to fill window\n- `ZoomVideoSDKVideoAspect_LetterBox` - Show full video with black bars\n\n**Resolution Options**:\n- `ZoomVideoSDKResolution_90P`\n- `ZoomVideoSDKResolution_180P`\n- `ZoomVideoSDKResolution_360P` - Good balance\n- `ZoomVideoSDKResolution_720P` - HD quality\n- `ZoomVideoSDKResolution_1080P`\n- `ZoomVideoSDKResolution_Auto` - Let SDK decide (recommended)\n\n### 🔧 Raw Data Pipe (Advanced Use Cases)\n\n**Best for**: Custom video processing, effects, recording, computer vision\n\nYou receive raw YUV420 frames and handle rendering yourself.\n\n```cpp\n\u002F\u002F 1. Create a delegate to receive frames\nclass VideoRenderer : public IZoomVideoSDKRawDataPipeDelegate {\npublic:\n    void onRawDataFrameReceived(YUVRawDataI420* data) override {\n        int width = data->GetStreamWidth();\n        int height = data->GetStreamHeight();\n        \n        char* yBuffer = data->GetYBuffer();\n        char* uBuffer = data->GetUBuffer();\n        char* vBuffer = data->GetVBuffer();\n        \n        \u002F\u002F Convert YUV420 to RGB and render\n        ConvertYUVToRGB(yBuffer, uBuffer, vBuffer, width, height);\n        RenderToWindow(rgbBuffer, width, height);\n    }\n    \n    void onRawDataStatusChanged(RawDataStatus status) override {\n        \u002F\u002F Handle video on\u002Foff\n    }\n};\n\n\u002F\u002F 2. Subscribe to raw data\nIZoomVideoSDKRawDataPipe* pipe = user->GetVideoPipe();\nVideoRenderer* renderer = new VideoRenderer();\npipe->subscribe(ZoomVideoSDKResolution_720P, renderer);\n```\n\n**YUV420 to RGB Conversion** (ITU-R BT.601):\n```cpp\nvoid ConvertYUV420ToRGB(char* yBuffer, char* uBuffer, char* vBuffer, \n                        int width, int height) {\n    for (int y = 0; y \u003C height; y++) {\n        for (int x = 0; x \u003C width; x++) {\n            int yIndex = y * width + x;\n            int uvIndex = (y \u002F 2) * (width \u002F 2) + (x \u002F 2);\n            \n            int Y = (unsigned char)yBuffer[yIndex];\n            int U = (unsigned char)uBuffer[uvIndex];\n            int V = (unsigned char)vBuffer[uvIndex];\n            \n            \u002F\u002F YUV to RGB conversion\n            int C = Y - 16;\n            int D = U - 128;\n            int E = V - 128;\n            \n            int R = (298 * C + 409 * E + 128) >> 8;\n            int G = (298 * C - 100 * D - 208 * E + 128) >> 8;\n            int B = (298 * C + 516 * D + 128) >> 8;\n            \n            \u002F\u002F Clamp to [0, 255]\n            R = (R \u003C 0) ? 0 : (R > 255) ? 255 : R;\n            G = (G \u003C 0) ? 0 : (G > 255) ? 255 : G;\n            B = (B \u003C 0) ? 0 : (B > 255) ? 255 : B;\n            \n            \u002F\u002F Store RGB (BGR format for Windows)\n            rgbBuffer[yIndex * 3 + 0] = (unsigned char)B;\n            rgbBuffer[yIndex * 3 + 1] = (unsigned char)G;\n            rgbBuffer[yIndex * 3 + 2] = (unsigned char)R;\n        }\n    }\n}\n```\n\n**Render with GDI**:\n```cpp\nvoid RenderToWindow(unsigned char* rgbBuffer, int width, int height) {\n    HDC hdc = GetDC(hwnd);\n    \n    BITMAPINFO bmi = {};\n    bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);\n    bmi.bmiHeader.biWidth = width;\n    bmi.bmiHeader.biHeight = -height;  \u002F\u002F Negative for top-down\n    bmi.bmiHeader.biPlanes = 1;\n    bmi.bmiHeader.biBitCount = 24;     \u002F\u002F 24-bit RGB\n    bmi.bmiHeader.biCompression = BI_RGB;\n    \n    RECT rect;\n    GetClientRect(hwnd, &rect);\n    \n    StretchDIBits(hdc,\n        0, 0, rect.right, rect.bottom,  \u002F\u002F Destination\n        0, 0, width, height,              \u002F\u002F Source\n        rgbBuffer, &bmi,\n        DIB_RGB_COLORS, SRCCOPY);\n    \n    ReleaseDC(hwnd, hdc);\n}\n```\n\n**Disadvantages**:\n- ⚠️ **CPU intensive** - YUV conversion can cause frame drops\n- ⚠️ **Artifacts** - Manual rendering may show tearing\u002Fartifacts\n- ⚠️ **Complex** - More code to maintain\n- ⚠️ **Performance** - Slower than Canvas API\n\n**Use Raw Data When**:\n- Adding video filters\u002Feffects\n- Recording to custom formats\n- Computer vision processing\n- Custom compositing\n- Streaming to non-standard outputs\n\n### Self Video vs Remote Users\n\n**Self Video** (your own camera):\n\n**Option A: Canvas API**\n```cpp\nIZoomVideoSDKSession* session = sdk->getSessionInfo();\nIZoomVideoSDKUser* myself = session->getMyself();\nIZoomVideoSDKCanvas* canvas = myself->GetVideoCanvas();\ncanvas->subscribeWithView(selfVideoHwnd, aspect, resolution);\n```\n\n**Option B: Video Preview** (for self only)\n```cpp\nIZoomVideoSDKVideoHelper* videoHelper = sdk->getVideoHelper();\nvideoHelper->startVideo();  \u002F\u002F Start transmission\n\n\u002F\u002F For preview rendering\nvideoHelper->startVideoCanvasPreview(selfVideoHwnd, aspect, resolution);\n```\n\n**Remote Users** (other participants):\n\n**Canvas API** (recommended):\n```cpp\n\u002F\u002F In onUserJoin callback\nvoid onUserJoin(IZoomVideoSDKUserHelper*, IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) {\n    for (int i = 0; i \u003C userList->GetCount(); i++) {\n        IZoomVideoSDKUser* user = userList->GetItem(i);\n        IZoomVideoSDKCanvas* canvas = user->GetVideoCanvas();\n        canvas->subscribeWithView(userVideoHwnd, aspect, resolution);\n    }\n}\n```\n\n### Event-Driven Subscription Pattern\n\n⚠️ **CRITICAL**: Video subscription must be **event-driven** and **manual**.\n\n**Key Events**:\n\n1. **`onSessionJoin`** - Subscribe to self video\n2. **`onUserJoin`** - Subscribe to new remote users\n3. **`onUserVideoStatusChanged`** - Re-subscribe when video turns on\u002Foff\n4. **`onUserLeave`** - Unsubscribe and cleanup\n\n**Complete Pattern**:\n\n```cpp\nclass MainFrame : public IZoomVideoSDKDelegate {\nprivate:\n    std::map\u003CIZoomVideoSDKUser*, IZoomVideoSDKCanvas*> subscribedUsers_;\n    HWND videoWindow_;\n    \npublic:\n    void onSessionJoin() override {\n        \u002F\u002F Start your own video\n        IZoomVideoSDKVideoHelper* videoHelper = sdk->getVideoHelper();\n        videoHelper->startVideo();\n        \n        \u002F\u002F Subscribe to self video\n        IZoomVideoSDKUser* myself = sdk->getSessionInfo()->getMyself();\n        SubscribeToUser(myself);\n    }\n    \n    void onUserJoin(IZoomVideoSDKUserHelper*, \n                    IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) override {\n        \u002F\u002F Get current user to exclude self\n        IZoomVideoSDKUser* myself = sdk->getSessionInfo()->getMyself();\n        \n        for (int i = 0; i \u003C userList->GetCount(); i++) {\n            IZoomVideoSDKUser* user = userList->GetItem(i);\n            \n            \u002F\u002F IMPORTANT: Only subscribe to REMOTE users!\n            if (user != myself) {\n                SubscribeToUser(user);\n            }\n        }\n    }\n    \n    void onUserVideoStatusChanged(IZoomVideoSDKVideoHelper*, \n                                  IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) override {\n        IZoomVideoSDKUser* myself = sdk->getSessionInfo()->getMyself();\n        \n        for (int i = 0; i \u003C userList->GetCount(); i++) {\n            IZoomVideoSDKUser* user = userList->GetItem(i);\n            if (user != myself) {\n                \u002F\u002F Re-subscribe when video status changes\n                SubscribeToUser(user);\n            }\n        }\n    }\n    \n    void onUserLeave(IZoomVideoSDKUserHelper*, \n                    IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) override {\n        for (int i = 0; i \u003C userList->GetCount(); i++) {\n            IZoomVideoSDKUser* user = userList->GetItem(i);\n            UnsubscribeFromUser(user);\n        }\n    }\n    \n    void onSessionLeave() override {\n        \u002F\u002F Cleanup all subscriptions\n        for (auto& pair : subscribedUsers_) {\n            IZoomVideoSDKCanvas* canvas = pair.second;\n            if (canvas) {\n                canvas->unSubscribeWithView(videoWindow_);\n            }\n        }\n        subscribedUsers_.clear();\n    }\n    \nprivate:\n    void SubscribeToUser(IZoomVideoSDKUser* user) {\n        if (!user || subscribedUsers_.find(user) != subscribedUsers_.end())\n            return;\n            \n        IZoomVideoSDKCanvas* canvas = user->GetVideoCanvas();\n        if (canvas) {\n            ZoomVideoSDKErrors ret = canvas->subscribeWithView(\n                videoWindow_,\n                ZoomVideoSDKVideoAspect_PanAndScan,\n                ZoomVideoSDKResolution_Auto\n            );\n            \n            if (ret == ZoomVideoSDKErrors_Success) {\n                subscribedUsers_[user] = canvas;\n            }\n        }\n    }\n    \n    void UnsubscribeFromUser(IZoomVideoSDKUser* user) {\n        auto it = subscribedUsers_.find(user);\n        if (it != subscribedUsers_.end()) {\n            IZoomVideoSDKCanvas* canvas = it->second;\n            if (canvas) {\n                canvas->unSubscribeWithView(videoWindow_);\n            }\n            subscribedUsers_.erase(it);\n        }\n    }\n};\n```\n\n**Key Points**:\n- ✅ Subscribe in response to events (onUserJoin, onUserVideoStatusChanged)\n- ✅ Always exclude current user from remote subscriptions\n- ✅ Unsubscribe on onUserLeave\n- ✅ Clean up all subscriptions on onSessionLeave\n- ✅ Track subscriptions in a map for lifecycle management\n\n### ⚠️ Screen Share Subscription (DIFFERENT from Video!)\n\n**CRITICAL**: Screen share subscription uses `IZoomVideoSDKShareAction` from the callback, NOT `user->GetShareCanvas()`!\n\n```cpp\n\u002F\u002F WRONG - This won't work for remote screen shares!\nuser->GetShareCanvas()->subscribeWithView(hwnd, ...);\n\n\u002F\u002F CORRECT - Use IZoomVideoSDKShareAction from onUserShareStatusChanged callback\nvoid onUserShareStatusChanged(IZoomVideoSDKShareHelper* pShareHelper,\n                               IZoomVideoSDKUser* pUser,\n                               IZoomVideoSDKShareAction* pShareAction) {\n    if (!pShareAction) return;\n    \n    ZoomVideoSDKShareStatus status = pShareAction->getShareStatus();\n    \n    if (status == ZoomVideoSDKShareStatus_Start || \n        status == ZoomVideoSDKShareStatus_Resume) {\n        \u002F\u002F Subscribe to the share using Canvas API\n        IZoomVideoSDKCanvas* shareCanvas = pShareAction->getShareCanvas();\n        if (shareCanvas) {\n            shareCanvas->subscribeWithView(shareWindow_, \n                ZoomVideoSDKVideoAspect_Original);\n        }\n    }\n    else if (status == ZoomVideoSDKShareStatus_Stop) {\n        \u002F\u002F Unsubscribe when share stops\n        IZoomVideoSDKCanvas* shareCanvas = pShareAction->getShareCanvas();\n        if (shareCanvas) {\n            shareCanvas->unSubscribeWithView(shareWindow_);\n        }\n    }\n}\n```\n\n**Why is share different from video?**\n- **Video**: Each user has one video stream → use `user->GetVideoCanvas()`\n- **Share**: A user can have multiple share actions (multi-share) → use `IZoomVideoSDKShareAction*` from callback\n- The `IZoomVideoSDKShareAction` object represents a specific share stream and contains the share status, type, and rendering interfaces\n\n**See also**: [Screen Share Subscription Example](examples\u002Fscreen-share-subscription.md)\n\n### Multi-User Video Layout\n\nFor multiple participants, you need **one HWND per user**:\n\n```cpp\n\u002F\u002F Create separate windows\u002Fpanels for each user\nHWND selfVideoWindow = CreateWindow(...);   \u002F\u002F Your video\nHWND user1Window = CreateWindow(...);       \u002F\u002F User 1's video\nHWND user2Window = CreateWindow(...);       \u002F\u002F User 2's video\n\n\u002F\u002F Subscribe each user to their own window\nmyself->GetVideoCanvas()->subscribeWithView(selfVideoWindow, ...);\nuser1->GetVideoCanvas()->subscribeWithView(user1Window, ...);\nuser2->GetVideoCanvas()->subscribeWithView(user2Window, ...);\n```\n\n**Layout Strategies**:\n- Grid layout (2x2, 3x3)\n- Gallery view (scrollable)\n- Active speaker (large) + thumbnails\n- Picture-in-picture\n\n### Common Video Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Video not showing | Not calling `startVideo()` | Call `videoHelper->startVideo()` in `onSessionJoin` |\n| Artifacts\u002Ftearing | Using Raw Data Pipe | Switch to Canvas API |\n| Poor performance | YUV conversion on UI thread | Use Canvas API or move conversion to worker thread |\n| Video freezes | Not processing Windows messages | Add message pump to main loop |\n| Can't see self | Subscribing to wrong user | Use `session->getMyself()` for self video |\n| Seeing self in remote list | Not excluding self | Check `if (user != myself)` before subscribing |\n\n## Complete Documentation Library\n\nThis skill includes comprehensive guides organized by category:\n\n### Core Concepts (Start Here!)\n- **[SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)** - Universal 3-step pattern for ANY feature\n- **[Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)** - 5-level navigation guide\n- **[Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md)** - Choose your rendering approach\n\n### Complete Examples\n- **[Session Join Pattern](examples\u002Fsession-join-pattern.md)** - JWT auth + session join with full code\n- **[Video Rendering](examples\u002Fvideo-rendering.md)** - Canvas API video display\n- **[Screen Share Subscription](examples\u002Fscreen-share-subscription.md)** - View remote screen shares (DIFFERENT from video!)\n- **[Raw Video Capture](examples\u002Fraw-video-capture.md)** - YUV420 frame capture\n- **[Raw Audio Capture](examples\u002Fraw-audio-capture.md)** - PCM audio capture\n- **[Send Raw Video](examples\u002Fsend-raw-video.md)** - Virtual camera (inject custom video)\n- **[Send Raw Audio](examples\u002Fsend-raw-audio.md)** - Virtual mic (inject custom audio)\n- **[Cloud Recording](examples\u002Fcloud-recording.md)** - Cloud recording control\n- **[Command Channel](examples\u002Fcommand-channel.md)** - Custom command messaging\n- **[Transcription](examples\u002Ftranscription.md)** - Live transcription\u002Fcaptions\n\n### UI Framework Integration\n- **[Win32 Native](examples\u002Fdotnet-winforms\u002FREADME.md#option-1-win32-native-c---direct-sdk)** - Direct SDK usage with Canvas API (best performance)\n- **[WinForms (.NET)](examples\u002Fdotnet-winforms\u002FREADME.md#option-2-winforms-c--ccli-wrapper)** - C++\u002FCLI wrapper + Raw Data Pipe\n- **[WPF (.NET)](examples\u002Fdotnet-winforms\u002FREADME.md#option-3-wpf-c--ccli-wrapper)** - C++\u002FCLI wrapper + BitmapSource conversion\n- **[Production Quality Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review)** - Checklist and common issues\n\n### C++\u002FCLI Wrapper Patterns (Wrapping ANY Native Library)\n- **[Complete Guide](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration)** - 8 patterns for native→.NET interop\n- **[Pattern 1: Basic Structure](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-1-basic-wrapper-structure)** - Project setup, class layout\n- **[Pattern 2: void* Pointers](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-2-opaque-void-pointers)** - Hide native types\n- **[Pattern 3: gcroot Callbacks](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-3-gcrootT-for-nativemanaged-callbacks)** - Native→Managed events\n- **[Pattern 4: IDisposable](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-4-destructor--finalizer-idisposable)** - Cleanup pattern\n- **[Pattern 5: Strings](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-5-string-conversion)** - String^ ↔ wstring\u002Fstring\n- **[Pattern 6: Arrays](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-6-arraybuffer-conversion)** - pin_ptr, Marshal::Copy\n- **[Pattern 7: Threading](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-7-thread-marshaling-native-thread--ui-thread)** - UI thread dispatch\n- **[Pattern 8: LockBits](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-8-lockbits-for-fast-image-manipulation)** - Fast image conversion\n- **[Common Errors](examples\u002Fdotnet-winforms\u002FREADME.md#common-wrapper-errors)** - Troubleshooting\n\n### Troubleshooting\n- **[Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)** - **CRITICAL**: Why callbacks don't fire\n- **[Build Errors](troubleshooting\u002Fbuild-errors.md)** - SDK header dependency fixes\n- **[Common Issues](troubleshooting\u002Fcommon-issues.md)** - Quick diagnostics & error codes\n\n### References\n- **[API Reference](references\u002Fwindows-reference.md)** - 5-level API hierarchy, methods, error codes\n- **[Delegate Methods](references\u002Fdelegate-methods.md)** - All 80+ callback methods\n- **[SKILL.md](SKILL.md)** - Complete navigation guide\n\n### Most Critical Issues (From Real Debugging)\n\n1. **Callbacks not firing** → Missing Windows message loop (99% of issues)\n   - See: [Windows Message Loop Guide](troubleshooting\u002Fwindows-message-loop.md)\n\n2. **Video subscribe returns error 2** → Subscribing too early\n   - See: [Video Rendering](examples\u002Fvideo-rendering.md) - Subscribe in `onUserVideoStatusChanged`\n\n3. **Abstract class errors** → Missing virtual method implementations\n   - See: [Delegate Methods](references\u002Fdelegate-methods.md)\n\n### Key Insight\n\n**Once you learn the 3-step pattern, you can implement ANY feature:**\n1. Get singleton → 2. Implement delegate → 3. Subscribe & use\n\nSee: [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)\n\n## Resources\n\n- **Official Docs**: https:\u002F\u002Fdevelopers.zoom.us\u002Fdocs\u002Fvideo-sdk\u002Fwindows\u002F\n- **API Reference**: https:\u002F\u002Fmarketplacefront.zoom.us\u002Fsdk\u002Fcustom\u002Fwindows\u002F\n- **Dev Forum**: https:\u002F\u002Fdevforum.zoom.us\u002F\n- **GitHub Samples**: https:\u002F\u002Fgithub.com\u002Fzoom\u002Fvideosdk-windows-rawdata-sample\n- **Working Sample**: `C:\\tempsdk\\zoom-video-sdk-windows-sample\\` (complete implementation)\n\n---\n\n**Need help?** Start with [SKILL.md](SKILL.md) for complete navigation.\n\n\n## Merged from video-sdk\u002Fwindows\u002FSKILL.md\n\n# Zoom Video SDK Windows - Complete Documentation Index\n\n## Quick Start Path\n\n**If you're new to the SDK, follow this order:**\n\n0. **Overview** → [windows.md](windows.md)\n1. **Read the architecture pattern** → [concepts\u002Fsdk-architecture-pattern.md](concepts\u002Fsdk-architecture-pattern.md)\n   - Universal formula: Singleton → Delegate → Subscribe\n   - Once you understand this, you can implement any feature\n\n2. **Fix build errors** → [troubleshooting\u002Fbuild-errors.md](troubleshooting\u002Fbuild-errors.md)\n   - SDK header dependencies\n   - Required include order\n\n3. **Implement session join** → [examples\u002Fsession-join-pattern.md](examples\u002Fsession-join-pattern.md)\n   - Complete working JWT + session join code\n\n4. **Fix callback issues** → [troubleshooting\u002Fwindows-message-loop.md](troubleshooting\u002Fwindows-message-loop.md)\n   - **CRITICAL**: Why callbacks don't fire without Windows message loop\n\n5. **Implement video** → [examples\u002Fvideo-rendering.md](examples\u002Fvideo-rendering.md)\n   - Canvas API (SDK-rendered) vs Raw Data Pipe\n\n6. **Troubleshoot any issues** → [troubleshooting\u002Fcommon-issues.md](troubleshooting\u002Fcommon-issues.md)\n   - Quick diagnostic checklist\n   - Error code tables\n\n---\n\n## Documentation Structure\n\n```\nvideo-sdk\u002Fwindows\u002F\n├── SKILL.md                           # Main skill overview\n├── SKILL.md                           # This file - navigation guide\n├── windows.md                          # Secondary overview doc (pointer-style)\n│\n├── concepts\u002F                          # Core architectural patterns\n│   ├── sdk-architecture-pattern.md   # Universal formula for ANY feature\n│   ├── singleton-hierarchy.md        # 5-level navigation guide\n│   └── canvas-vs-raw-data.md         # SDK-rendered vs self-rendered choice\n│\n├── examples\u002F                          # Complete working code\n│   ├── session-join-pattern.md       # JWT auth + session join\n│   ├── video-rendering.md            # Canvas API video display\n│   ├── screen-share-subscription.md  # View remote screen shares\n│   ├── raw-video-capture.md          # YUV420 raw frame capture\n│   ├── raw-audio-capture.md          # PCM audio capture\n│   ├── send-raw-video.md             # Virtual camera (inject video)\n│   ├── send-raw-audio.md             # Virtual mic (inject audio)\n│   ├── cloud-recording.md            # Cloud recording control\n│   ├── command-channel.md            # Custom command messaging\n│   ├── transcription.md              # Live transcription\u002Fcaptions\n│   └── dotnet-winforms\u002F              # UI Framework integration\n│       └── README.md                 # Win32, WinForms, WPF patterns\n│                                     # C++\u002FCLI wrapper patterns\n│                                     # Production quality guidelines\n│\n├── troubleshooting\u002F                   # Problem solving guides\n│   ├── windows-message-loop.md       # CRITICAL - Why callbacks fail\n│   ├── build-errors.md               # Header dependency fixes\n│   └── common-issues.md              # Quick diagnostic workflow\n│\n└── references\u002F                        # Reference documentation\n    ├── windows-reference.md           # API hierarchy, methods, error codes\n    ├── delegate-methods.md            # All 80+ callback methods\n    └── samples.md                     # Official samples guide\n```\n\n---\n\n## By Use Case\n\n### I want to build a video app\n1. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - Understand the pattern\n2. [Session Join Pattern](examples\u002Fsession-join-pattern.md) - Join sessions\n3. [Video Rendering](examples\u002Fvideo-rendering.md) - Display video\n4. [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md) - Fix callback issues\n\n### I'm getting build errors\n1. [Build Errors Guide](troubleshooting\u002Fbuild-errors.md) - SDK header dependencies\n2. [Delegate Methods](references\u002Fdelegate-methods.md) - Abstract class errors\n3. [Common Issues](troubleshooting\u002Fcommon-issues.md) - Linker errors\n\n### I'm getting runtime errors\n1. [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md) - Callbacks not firing\n2. [Common Issues](troubleshooting\u002Fcommon-issues.md) - Error code tables\n\n### I want to view screen shares\n1. [Screen Share Subscription](examples\u002Fscreen-share-subscription.md) - **DIFFERENT from video!**\n2. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - Event-driven pattern\n3. [Video Rendering](examples\u002Fvideo-rendering.md) - Compare with video subscription\n\n### I want to capture raw video\u002Faudio\n1. [Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md) - Choose your approach\n2. [Raw Video Capture](examples\u002Fraw-video-capture.md) - YUV420 frame capture\n3. [Raw Audio Capture](examples\u002Fraw-audio-capture.md) - PCM audio capture\n4. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - Subscription pattern\n\n### I want to send custom video\u002Faudio (virtual camera\u002Fmic)\n1. [Send Raw Video](examples\u002Fsend-raw-video.md) - Inject custom video frames\n2. [Send Raw Audio](examples\u002Fsend-raw-audio.md) - Inject custom audio\n3. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - External source pattern\n\n### I want to record sessions\n1. [Cloud Recording](examples\u002Fcloud-recording.md) - Start\u002Fstop cloud recording\n2. [API Reference](references\u002Fwindows-reference.md) - Recording helper methods\n\n### I want to use live transcription\n1. [Transcription](examples\u002Ftranscription.md) - Enable live captions\n2. [Delegate Methods](references\u002Fdelegate-methods.md) - Transcription callbacks\n\n### I want custom messaging between participants\n1. [Command Channel](examples\u002Fcommand-channel.md) - Send custom commands\n2. [API Reference](references\u002Fwindows-reference.md) - Command channel methods\n\n### I want to build a Win32 native app\n1. [Win32 Integration](examples\u002Fdotnet-winforms\u002FREADME.md#option-1-win32-native-c---direct-sdk) - Direct SDK + Canvas API\n2. [Video Rendering](examples\u002Fvideo-rendering.md) - Canvas API patterns\n3. [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review) - Best practices\n\n### I want to build a WinForms (.NET) app\n1. [WinForms Integration](examples\u002Fdotnet-winforms\u002FREADME.md#option-2-winforms-c--ccli-wrapper) - C++\u002FCLI wrapper + Raw Data\n2. [C++\u002FCLI Patterns](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration) - gcroot, Finalizer, LockBits\n3. [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review) - IDisposable, thread safety\n\n### I want to build a WPF (.NET) app\n1. [WPF Integration](examples\u002Fdotnet-winforms\u002FREADME.md#option-3-wpf-c--ccli-wrapper) - C++\u002FCLI + BitmapSource\n2. [Bitmap Conversion](examples\u002Fdotnet-winforms\u002FREADME.md#2-bitmap--bitmapsource-conversion) - Freeze(), Dispatcher\n3. [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review) - Performance optimization\n\n### I want to use C# \u002F .NET Framework (general)\n1. [.NET Integration Overview](examples\u002Fdotnet-winforms\u002FREADME.md) - **Complete C++\u002FCLI wrapper guide**\n2. [Raw Video Capture](examples\u002Fraw-video-capture.md) - YUV→RGB conversion patterns\n3. [Session Join Pattern](examples\u002Fsession-join-pattern.md) - SDK initialization flow\n\n### I want to wrap ANY native C++ library for .NET\n1. [C++\u002FCLI Wrapper Patterns](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration) - **Complete 8-pattern guide**\n2. [Pattern 1: Basic Structure](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-1-basic-wrapper-structure) - Project setup + class layout\n3. [Pattern 3: gcroot Callbacks](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-3-gcrootT-for-nativemanaged-callbacks) - Native→Managed events\n4. [Pattern 4: IDisposable](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-4-destructor--finalizer-idisposable) - Cleanup pattern\n5. [Common Errors](examples\u002Fdotnet-winforms\u002FREADME.md#common-wrapper-errors) - Troubleshooting\n\n### I want to implement a specific feature\n1. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - **START HERE!**\n2. [Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md) - Navigate to the feature\n3. [API Reference](references\u002Fwindows-reference.md) - Method signatures\n\n---\n\n## Most Critical Documents\n\n### 1. SDK Architecture Pattern (MASTER DOCUMENT)\n**[concepts\u002Fsdk-architecture-pattern.md](concepts\u002Fsdk-architecture-pattern.md)**\n\nThe universal 3-step pattern:\n1. Get singleton (SDK, helpers, session, users)\n2. Implement delegate (event callbacks)\n3. Subscribe and use\n\n### 2. Windows Message Loop (MOST COMMON ISSUE)\n**[troubleshooting\u002Fwindows-message-loop.md](troubleshooting\u002Fwindows-message-loop.md)**\n\n99% of \"callbacks not firing\" issues are caused by missing Windows message loop.\n\n### 3. Singleton Hierarchy (NAVIGATION MAP)\n**[concepts\u002Fsingleton-hierarchy.md](concepts\u002Fsingleton-hierarchy.md)**\n\n5-level deep navigation showing how to reach every feature.\n\n---\n\n## Key Learnings\n\n### Critical Discoveries:\n\n1. **Windows Message Loop is MANDATORY**\n   - SDK uses Windows message pump for callbacks\n   - Without it, callbacks are queued but never fire\n   - See: [Windows Message Loop Guide](troubleshooting\u002Fwindows-message-loop.md)\n\n2. **Subscribe in onUserVideoStatusChanged, NOT onUserJoin**\n   - Video may not be ready when user joins\n   - Wait for video status change callback\n   - See: [Video Rendering](examples\u002Fvideo-rendering.md)\n\n3. **Two Rendering Paths**\n   - Canvas API: SDK renders to your HWND (recommended)\n   - Raw Data Pipe: You receive YUV frames (advanced)\n   - See: [Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md)\n\n4. **Helpers Control YOUR Streams Only**\n   - `videoHelper->startVideo()` starts YOUR camera\n   - To see others, subscribe to their Canvas\u002FPipe\n   - See: [Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)\n\n5. **UI Framework Integration Differs by Platform**\n   - **Win32**: Direct SDK, Canvas API (SDK renders to HWND) - best performance\n   - **WinForms**: C++\u002FCLI wrapper, Raw Data Pipe, YUV→Bitmap, InvokeRequired\n   - **WPF**: Same wrapper + Bitmap→BitmapSource, Dispatcher, Freeze()\n   - See: [UI Framework Integration](examples\u002Fdotnet-winforms\u002FREADME.md)\n\n6. **C++\u002FCLI Wrapper Patterns (for ANY native library → .NET)**\n   - `void*` pointers - hide native types from managed headers\n   - `gcroot\u003CT^>` - prevent GC from collecting managed references in native code\n   - Finalizer + Destructor - `~Class()` and `!Class()` for IDisposable cleanup\n   - `pin_ptr` + `Marshal::Copy` - array\u002Fbuffer conversion\n   - `LockBits` - 100x faster than SetPixel for image manipulation\n   - Thread marshaling - InvokeRequired (WinForms) \u002F Dispatcher (WPF)\n   - See: [C++\u002FCLI Wrapper Guide](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration)\n\n7. **Audio Connection Timing**\n   - Set `audioOption.connect = false` during join\n   - Call `startAudio()` in `onSessionJoin` callback\n   - See: [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review)\n\n---\n\n## Quick Reference\n\n### \"My code won't compile\"\n→ [Build Errors Guide](troubleshooting\u002Fbuild-errors.md)\n\n### \"Callbacks never fire\"\n→ [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)\n\n### \"Video subscription returns error 2\"\n→ [Video Rendering](examples\u002Fvideo-rendering.md) - Subscribe in onUserVideoStatusChanged\n\n### \"Abstract class error\"\n→ [Delegate Methods](references\u002Fdelegate-methods.md)\n\n### \"How do I implement [feature]?\"\n→ [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)\n\n### \"How do I navigate to [controller]?\"\n→ [Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)\n\n### \"What error code means what?\"\n→ [Common Issues](troubleshooting\u002Fcommon-issues.md)\n\n---\n\n## Document Version\n\nBased on **Zoom Video SDK for Windows v2.x**\n\n---\n\n**Happy coding!**\n\nRemember: The [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) is your key to unlocking the entire SDK. Read it first!\n\n## Operations\n\n- [RUNBOOK.md](RUNBOOK.md) - 5-minute preflight and debugging checklist.\n","# Zoom Video SDK - Windows Development\n\nExpert guidance for developing with the Zoom Video SDK on Windows. This SDK enables custom video applications, raw media capture\u002Finjection, cloud recording, live streaming, and real-time transcription on Windows platforms.\n\n**Official Documentation**: https:\u002F\u002Fdevelopers.zoom.us\u002Fdocs\u002Fvideo-sdk\u002Fwindows\u002F\n**API Reference**: https:\u002F\u002Fmarketplacefront.zoom.us\u002Fsdk\u002Fcustom\u002Fwindows\u002F\n**Sample Repository**: https:\u002F\u002Fgithub.com\u002Fzoom\u002Fvideosdk-windows-rawdata-sample\n\n## Quick Links\n\n**New to Video SDK? Follow this path:**\n\n1. **[SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)** - Universal 3-step pattern for ANY feature\n2. **[Session Join Pattern](examples\u002Fsession-join-pattern.md)** - Complete working code to join a session\n3. **[Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)** - **CRITICAL**: Fix callbacks not firing\n4. **[Video Rendering](examples\u002Fvideo-rendering.md)** - Display video with Canvas API\n\n**Reference:**\n- **[Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)** - 5-level SDK navigation map\n- **[API Reference](references\u002Fwindows-reference.md)** - Methods, error codes, timing rules\n- **[Delegate Methods](references\u002Fdelegate-methods.md)** - All 80+ callback methods\n- **[Sample Applications](references\u002Fsamples.md)** - Official samples guide\n- **[windows.md](windows.md)** - Secondary overview doc (pointer-style)\n- **[SKILL.md](SKILL.md)** - Complete documentation navigation\n\n**Having issues?**\n- Callbacks not firing → [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)\n- Build errors → [Build Errors Guide](troubleshooting\u002Fbuild-errors.md)\n- Video subscribe fails → [Video Rendering](examples\u002Fvideo-rendering.md) (subscribe in `onUserVideoStatusChanged`)\n- Quick diagnostics → [Common Issues](troubleshooting\u002Fcommon-issues.md)\n\n**Building a Custom UI?**\n- [Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md) - Choose your rendering approach\n- [Raw Video Capture](examples\u002Fraw-video-capture.md) - YUV420 frame processing\n\n## SDK Overview\n\nThe Zoom Video SDK for Windows is a C++ library that provides:\n- **Session Management**: Join\u002Fleave video SDK sessions\n- **Raw Data Access**: Capture raw audio\u002Fvideo frames (YUV420, PCM)\n- **Raw Data Injection**: Send custom audio\u002Fvideo into sessions\n- **Screen Sharing**: Share screens or inject custom share sources\n- **Cloud Recording**: Record sessions to Zoom cloud\n- **Live Streaming**: Stream to RTMP endpoints (YouTube, etc.)\n- **Chat & Commands**: In-session messaging and command channels\n- **Live Transcription**: Real-time speech-to-text\n- **Subsessions**: Breakout room support\n- **Whiteboard**: Collaborative whiteboard features\n- **Annotations**: Screen share annotations\n- **C# Integration**: C++\u002FCLI wrapper for .NET applications\n\n## Prerequisites\n\n### System Requirements\n\n- **OS**: Windows 10 (1903 or later) or Windows 11\n- **Architecture**: x64 (recommended), x86, or ARM64\n- **Visual Studio**: 2019 or 2022 (Community, Professional, or Enterprise)\n- **Windows SDK**: 10.0.19041.0 or later\n- **.NET Framework**: 4.8 or later (for C# applications)\n\n### Visual Studio Workloads\n\nInstall these workloads via Visual Studio Installer:\n\n1. **Desktop development with C++**\n   - MSVC v142 or v143 compiler\n   - Windows 10\u002F11 SDK\n   - C++ CMake tools (optional)\n\n2. **.NET desktop development** (for C# applications)\n   - .NET Framework 4.8 targeting pack\n   - C++\u002FCLI support\n\n## Quick Start\n\n### C++ Application\n\n```cpp\n#include \u003Cwindows.h>\n#include \"zoom_video_sdk_api.h\"\n#include \"zoom_video_sdk_interface.h\"\n#include \"zoom_video_sdk_delegate_interface.h\"\n\nUSING_ZOOM_VIDEO_SDK_NAMESPACE\n\n\u002F\u002F 1. Create SDK object\nIZoomVideoSDK* video_sdk_obj = CreateZoomVideoSDKObj();\n\n\u002F\u002F 2. Initialize\nZoomVideoSDKInitParams init_params;\ninit_params.domain = L\"https:\u002F\u002Fzoom.us\";\ninit_params.enableLog = true;\ninit_params.logFilePrefix = L\"zoom_win_video\";\ninit_params.videoRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.shareRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.audioRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\n\nZoomVideoSDKErrors err = video_sdk_obj->initialize(init_params);\n\n\u002F\u002F 3. Add event listener\nvideo_sdk_obj->addListener(myDelegate);\n\n\u002F\u002F 4. Join session (IMPORTANT: set audioOption.connect = false)\nZoomVideoSDKSessionContext session_context;\nsession_context.sessionName = L\"my-session\";\nsession_context.userName = L\"Windows User\";\nsession_context.token = L\"your-jwt-token\";\nsession_context.videoOption.localVideoOn = false;\nsession_context.audioOption.connect = false;  \u002F\u002F Connect audio after join\nsession_context.audioOption.mute = true;\n\nIZoomVideoSDKSession* session = video_sdk_obj->joinSession(session_context);\n\n\u002F\u002F 5. CRITICAL: Add Windows message pump for callbacks to work\nbool running = true;\nwhile (running) {\n    \u002F\u002F Process Windows messages (required for SDK callbacks)\n    MSG msg;\n    while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {\n        TranslateMessage(&msg);\n        DispatchMessage(&msg);\n    }\n    \n    \u002F\u002F Your application logic here\n    Sleep(10);\n}\n```\n\n### C# Application\n\n```csharp\nusing ZoomVideoSDK;\n\nvar sdkManager = new ZoomSDKManager();\nsdkManager.Initialize();\nsdkManager.JoinSession(\"my-session\", \"jwt-token\", \"User Name\", \"\");\n```\n\n## Key Features\n\n| Feature | Description |\n|---------|-------------|\n| **Session Management** | Join, leave, and manage video sessions |\n| **Raw Video (YUV I420)** | Capture and inject raw video frames |\n| **Raw Audio (PCM)** | Capture and inject raw audio data |\n| **Screen Sharing** | Share screens or custom content |\n| **Cloud Recording** | Record sessions to Zoom cloud |\n| **Live Streaming** | Stream to RTMP endpoints |\n| **Chat** | Send\u002Freceive chat messages |\n| **Command Channel** | Custom command messaging |\n| **Live Transcription** | Real-time speech-to-text |\n| **C# Support** | Full .NET Framework integration |\n\n## Sample Applications\n\n**Official Repository**: https:\u002F\u002Fgithub.com\u002Fzoom\u002Fvideosdk-windows-rawdata-sample\n\n| Sample | Description |\n|--------|-------------|\n| VSDK_SkeletonDemo | Minimal session join - **start here** |\n| VSDK_getRawVideo | Capture YUV420 video frames |\n| VSDK_getRawAudio | Capture PCM audio |\n| VSDK_sendRawVideo | Inject custom video (virtual camera) |\n| VSDK_sendRawAudio | Inject custom audio (virtual mic) |\n| VSDK_CloudRecording | Cloud recording control |\n| VSDK_CommandChannel | Custom command messaging |\n| VSDK_TranscriptionAndTranslation | Live captions |\n\n**See complete guide**: [Sample Applications Reference](references\u002Fsamples.md)\n\n## Critical Gotchas and Best Practices\n\n### ⚠️ CRITICAL: Windows Message Pump Required\n\n**The #1 issue that causes session joins to hang with no callbacks:**\n\nAll Windows applications using the Zoom SDK **MUST** process Windows messages. The SDK uses Windows messages to deliver callbacks like `onSessionJoin()`, `onError()`, etc.\n\n**Problem**: Without a message pump, `joinSession()` appears to succeed but callbacks never fire.\n\n**Solution**: Add this to your main loop:\n\n```cpp\nwhile (running) {\n    \u002F\u002F REQUIRED: Process Windows messages\n    MSG msg;\n    while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {\n        TranslateMessage(&msg);\n        DispatchMessage(&msg);\n    }\n    \n    \u002F\u002F Your application logic\n    Sleep(10);\n}\n```\n\n**Applies to**:\n- Console applications (no automatic message pump)\n- Custom main loops\n- Applications that don't use standard WinMain\u002FWndProc\n\n**GUI applications** using WinMain with standard message loop already have this.\n\n### Audio Connection Strategy\n\n**Best Practice**: Set `audioOption.connect = false` when joining, then connect audio in the `onSessionJoin()` callback.\n\n```cpp\n\u002F\u002F During join\nsession_context.audioOption.connect = false;  \u002F\u002F Don't connect yet\nsession_context.audioOption.mute = true;\n\n\u002F\u002F In onSessionJoin() callback\nvoid onSessionJoin() override {\n    IZoomVideoSDKAudioHelper* audioHelper = video_sdk_obj->getAudioHelper();\n    if (audioHelper) {\n        audioHelper->startAudio();  \u002F\u002F Connect now\n    }\n}\n```\n\n**Why**: This pattern is used in all official Zoom samples. It separates session join from audio initialization for better reliability and error handling.\n\n### All Delegate Callbacks Must Be Implemented\n\nThe `IZoomVideoSDKDelegate` interface has 70+ pure virtual methods. **ALL must be implemented**, even if empty:\n\n```cpp\n\u002F\u002F Required even if you don't use them\nvoid onProxyDetectComplete() override {}\nvoid onUserWhiteboardShareStatusChanged(IZoomVideoSDKUser*, IZoomVideoSDKWhiteboardHelper*) override {}\n\u002F\u002F ... etc\n```\n\n**Tip**: Check the SDK version's `zoom_video_sdk_delegate_interface.h` for the complete list. The interface changes between SDK versions.\n\n### Memory Mode for Raw Data\n\nAlways use heap mode for raw data memory:\n\n```cpp\ninit_params.videoRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.shareRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\ninit_params.audioRawDataMemoryMode = ZoomVideoSDKRawDataMemoryModeHeap;\n```\n\nStack mode can cause issues with large video frames.\n\n### Thread Safety\n\nSDK callbacks execute on SDK threads, not your main thread:\n- Don't perform heavy operations in callbacks\n- Don't call `cleanup()` from within callbacks\n- Use thread-safe queues for passing data to UI thread\n- Use mutexes when accessing shared state\n\n### Consult Official Samples First\n\nWhen SDK behavior is unexpected, **always check the official samples** before troubleshooting:\n\n**Local samples**:\n- `C:\\tempsdk\\Zoom_VideoSDK_Windows_RawDataDemos\\VSDK_SkeletonDemo\\` (simplest)\n- `C:\\tempsdk\\sdksamples\\zoom-video-sdk-windows-2.4.12\\Sample-Libs\\x64\\demo\\`\n\nOfficial samples show correct patterns for:\n- Message pump implementation ✓\n- Audio connection strategy ✓\n- Error handling ✓\n- Memory management ✓\n\n## Video Rendering - Two Approaches\n\nThe Zoom SDK provides **two different ways** to render video. Choose based on your needs.\n\n### 🎯 Canvas API (Recommended for Most Use Cases)\n\n**Best for**: Standard applications, clean video quality, ease of implementation\n\nThe SDK renders video directly to your HWND. **No YUV conversion needed**.\n\n```cpp\n\u002F\u002F Subscribe to a user's video with Canvas API\nIZoomVideoSDKCanvas* canvas = user->GetVideoCanvas();\nif (canvas) {\n    ZoomVideoSDKErrors ret = canvas->subscribeWithView(\n        hwnd,                                    \u002F\u002F Your window handle\n        ZoomVideoSDKVideoAspect_PanAndScan,     \u002F\u002F Fit to window, may crop\n        ZoomVideoSDKResolution_Auto              \u002F\u002F Let SDK choose best resolution\n    );\n    \n    if (ret == ZoomVideoSDKErrors_Success) {\n        \u002F\u002F SDK is now rendering directly to your window!\n    }\n}\n\n\u002F\u002F Unsubscribe when done\ncanvas->unSubscribeWithView(hwnd);\n```\n\n**Advantages**:\n- ✅ **Best quality** - SDK uses optimized, hardware-accelerated rendering\n- ✅ **No artifacts** - Professional video quality\n- ✅ **Simple code** - 3 lines to subscribe\n- ✅ **Better performance** - No CPU-intensive YUV conversion\n- ✅ **Automatic scaling** - SDK handles window resizing\n- ✅ **Aspect ratio** - Built-in aspect ratio handling\n\n**Example from official .NET sample**:\n```cpp\n\u002F\u002F Self video preview\nIZoomVideoSDKCanvas* canvas = myself->GetVideoCanvas();\ncanvas->subscribeWithView(selfVideoHwnd, aspect, resolution);\n\n\u002F\u002F Remote user video\nIZoomVideoSDKCanvas* remoteCanvas = remoteUser->GetVideoCanvas();\nremoteCanvas->subscribeWithView(remoteVideoHwnd, aspect, resolution);\n```\n\n**Video Aspect Options**:\n- `ZoomVideoSDKVideoAspect_Original` - Letterbox\u002Fpillarbox, no cropping\n- `ZoomVideoSDKVideoAspect_FullFilled` - Fill window, may crop edges\n- `ZoomVideoSDKVideoAspect_PanAndScan` - Smart crop to fill window\n- `ZoomVideoSDKVideoAspect_LetterBox` - Show full video with black bars\n\n**Resolution Options**:\n- `ZoomVideoSDKResolution_90P`\n- `ZoomVideoSDKResolution_180P`\n- `ZoomVideoSDKResolution_360P` - Good balance\n- `ZoomVideoSDKResolution_720P` - HD quality\n- `ZoomVideoSDKResolution_1080P`\n- `ZoomVideoSDKResolution_Auto` - Let SDK decide (recommended)\n\n### 🔧 Raw Data Pipe (Advanced Use Cases)\n\n**Best for**: Custom video processing, effects, recording, computer vision\n\nYou receive raw YUV420 frames and handle rendering yourself.\n\n```cpp\n\u002F\u002F 1. Create a delegate to receive frames\nclass VideoRenderer : public IZoomVideoSDKRawDataPipeDelegate {\npublic:\n    void onRawDataFrameReceived(YUVRawDataI420* data) override {\n        int width = data->GetStreamWidth();\n        int height = data->GetStreamHeight();\n        \n        char* yBuffer = data->GetYBuffer();\n        char* uBuffer = data->GetUBuffer();\n        char* vBuffer = data->GetVBuffer();\n        \n        \u002F\u002F Convert YUV420 to RGB and render\n        ConvertYUVToRGB(yBuffer, uBuffer, vBuffer, width, height);\n        RenderToWindow(rgbBuffer, width, height);\n    }\n    \n    void onRawDataStatusChanged(RawDataStatus status) override {\n        \u002F\u002F Handle video on\u002Foff\n    }\n};\n\n\u002F\u002F 2. Subscribe to raw data\nIZoomVideoSDKRawDataPipe* pipe = user->GetVideoPipe();\nVideoRenderer* renderer = new VideoRenderer();\npipe->subscribe(ZoomVideoSDKResolution_720P, renderer);\n```\n\n**YUV420 to RGB Conversion** (ITU-R BT.601):\n```cpp\nvoid ConvertYUV420ToRGB(char* yBuffer, char* uBuffer, char* vBuffer, \n                        int width, int height) {\n    for (int y = 0; y \u003C height; y++) {\n        for (int x = 0; x \u003C width; x++) {\n            int yIndex = y * width + x;\n            int uvIndex = (y \u002F 2) * (width \u002F 2) + (x \u002F 2);\n            \n            int Y = (unsigned char)yBuffer[yIndex];\n            int U = (unsigned char)uBuffer[uvIndex];\n            int V = (unsigned char)vBuffer[uvIndex];\n            \n            \u002F\u002F YUV to RGB conversion\n            int C = Y - 16;\n            int D = U - 128;\n            int E = V - 128;\n            \n            int R = (298 * C + 409 * E + 128) >> 8;\n            int G = (298 * C - 100 * D - 208 * E + 128) >> 8;\n            int B = (298 * C + 516 * D + 128) >> 8;\n            \n            \u002F\u002F Clamp to [0, 255]\n            R = (R \u003C 0) ? 0 : (R > 255) ? 255 : R;\n            G = (G \u003C 0) ? 0 : (G > 255) ? 255 : G;\n            B = (B \u003C 0) ? 0 : (B > 255) ? 255 : B;\n            \n            \u002F\u002F Store RGB (BGR format for Windows)\n            rgbBuffer[yIndex * 3 + 0] = (unsigned char)B;\n            rgbBuffer[yIndex * 3 + 1] = (unsigned char)G;\n            rgbBuffer[yIndex * 3 + 2] = (unsigned char)R;\n        }\n    }\n}\n```\n\n**Render with GDI**:\n```cpp\nvoid RenderToWindow(unsigned char* rgbBuffer, int width, int height) {\n    HDC hdc = GetDC(hwnd);\n    \n    BITMAPINFO bmi = {};\n    bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);\n    bmi.bmiHeader.biWidth = width;\n    bmi.bmiHeader.biHeight = -height;  \u002F\u002F Negative for top-down\n    bmi.bmiHeader.biPlanes = 1;\n    bmi.bmiHeader.biBitCount = 24;     \u002F\u002F 24-bit RGB\n    bmi.bmiHeader.biCompression = BI_RGB;\n    \n    RECT rect;\n    GetClientRect(hwnd, &rect);\n    \n    StretchDIBits(hdc,\n        0, 0, rect.right, rect.bottom,  \u002F\u002F Destination\n        0, 0, width, height,              \u002F\u002F Source\n        rgbBuffer, &bmi,\n        DIB_RGB_COLORS, SRCCOPY);\n    \n    ReleaseDC(hwnd, hdc);\n}\n```\n\n**Disadvantages**:\n- ⚠️ **CPU intensive** - YUV conversion can cause frame drops\n- ⚠️ **Artifacts** - Manual rendering may show tearing\u002Fartifacts\n- ⚠️ **Complex** - More code to maintain\n- ⚠️ **Performance** - Slower than Canvas API\n\n**Use Raw Data When**:\n- Adding video filters\u002Feffects\n- Recording to custom formats\n- Computer vision processing\n- Custom compositing\n- Streaming to non-standard outputs\n\n### Self Video vs Remote Users\n\n**Self Video** (your own camera):\n\n**Option A: Canvas API**\n```cpp\nIZoomVideoSDKSession* session = sdk->getSessionInfo();\nIZoomVideoSDKUser* myself = session->getMyself();\nIZoomVideoSDKCanvas* canvas = myself->GetVideoCanvas();\ncanvas->subscribeWithView(selfVideoHwnd, aspect, resolution);\n```\n\n**Option B: Video Preview** (for self only)\n```cpp\nIZoomVideoSDKVideoHelper* videoHelper = sdk->getVideoHelper();\nvideoHelper->startVideo();  \u002F\u002F Start transmission\n\n\u002F\u002F For preview rendering\nvideoHelper->startVideoCanvasPreview(selfVideoHwnd, aspect, resolution);\n```\n\n**Remote Users** (other participants):\n\n**Canvas API** (recommended):\n```cpp\n\u002F\u002F In onUserJoin callback\nvoid onUserJoin(IZoomVideoSDKUserHelper*, IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) {\n    for (int i = 0; i \u003C userList->GetCount(); i++) {\n        IZoomVideoSDKUser* user = userList->GetItem(i);\n        IZoomVideoSDKCanvas* canvas = user->GetVideoCanvas();\n        canvas->subscribeWithView(userVideoHwnd, aspect, resolution);\n    }\n}\n```\n\n### Event-Driven Subscription Pattern\n\n⚠️ **CRITICAL**: Video subscription must be **event-driven** and **manual**.\n\n**Key Events**:\n\n1. **`onSessionJoin`** - Subscribe to self video\n2. **`onUserJoin`** - Subscribe to new remote users\n3. **`onUserVideoStatusChanged`** - Re-subscribe when video turns on\u002Foff\n4. **`onUserLeave`** - Unsubscribe and cleanup\n\n**Complete Pattern**:\n\n```cpp\nclass MainFrame : public IZoomVideoSDKDelegate {\nprivate:\n    std::map\u003CIZoomVideoSDKUser*, IZoomVideoSDKCanvas*> subscribedUsers_;\n    HWND videoWindow_;\n    \npublic:\n    void onSessionJoin() override {\n        \u002F\u002F Start your own video\n        IZoomVideoSDKVideoHelper* videoHelper = sdk->getVideoHelper();\n        videoHelper->startVideo();\n        \n        \u002F\u002F Subscribe to self video\n        IZoomVideoSDKUser* myself = sdk->getSessionInfo()->getMyself();\n        SubscribeToUser(myself);\n    }\n    \n    void onUserJoin(IZoomVideoSDKUserHelper*, \n                    IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) override {\n        \u002F\u002F Get current user to exclude self\n        IZoomVideoSDKUser* myself = sdk->getSessionInfo()->getMyself();\n        \n        for (int i = 0; i \u003C userList->GetCount(); i++) {\n            IZoomVideoSDKUser* user = userList->GetItem(i);\n            \n            \u002F\u002F IMPORTANT: Only subscribe to REMOTE users!\n            if (user != myself) {\n                SubscribeToUser(user);\n            }\n        }\n    }\n    \n    void onUserVideoStatusChanged(IZoomVideoSDKVideoHelper*, \n                                  IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) override {\n        IZoomVideoSDKUser* myself = sdk->getSessionInfo()->getMyself();\n        \n        for (int i = 0; i \u003C userList->GetCount(); i++) {\n            IZoomVideoSDKUser* user = userList->GetItem(i);\n            if (user != myself) {\n                \u002F\u002F Re-subscribe when video status changes\n                SubscribeToUser(user);\n            }\n        }\n    }\n    \n    void onUserLeave(IZoomVideoSDKUserHelper*, \n                    IVideoSDKVector\u003CIZoomVideoSDKUser*>* userList) override {\n        for (int i = 0; i \u003C userList->GetCount(); i++) {\n            IZoomVideoSDKUser* user = userList->GetItem(i);\n            UnsubscribeFromUser(user);\n        }\n    }\n    \n    void onSessionLeave() override {\n        \u002F\u002F Cleanup all subscriptions\n        for (auto& pair : subscribedUsers_) {\n            IZoomVideoSDKCanvas* canvas = pair.second;\n            if (canvas) {\n                canvas->unSubscribeWithView(videoWindow_);\n            }\n        }\n        subscribedUsers_.clear();\n    }\n    \nprivate:\n    void SubscribeToUser(IZoomVideoSDKUser* user) {\n        if (!user || subscribedUsers_.find(user) != subscribedUsers_.end())\n            return;\n            \n        IZoomVideoSDKCanvas* canvas = user->GetVideoCanvas();\n        if (canvas) {\n            ZoomVideoSDKErrors ret = canvas->subscribeWithView(\n                videoWindow_,\n                ZoomVideoSDKVideoAspect_PanAndScan,\n                ZoomVideoSDKResolution_Auto\n            );\n            \n            if (ret == ZoomVideoSDKErrors_Success) {\n                subscribedUsers_[user] = canvas;\n            }\n        }\n    }\n    \n    void UnsubscribeFromUser(IZoomVideoSDKUser* user) {\n        auto it = subscribedUsers_.find(user);\n        if (it != subscribedUsers_.end()) {\n            IZoomVideoSDKCanvas* canvas = it->second;\n            if (canvas) {\n                canvas->unSubscribeWithView(videoWindow_);\n            }\n            subscribedUsers_.erase(it);\n        }\n    }\n};\n```\n\n**Key Points**:\n- ✅ Subscribe in response to events (onUserJoin, onUserVideoStatusChanged)\n- ✅ Always exclude current user from remote subscriptions\n- ✅ Unsubscribe on onUserLeave\n- ✅ Clean up all subscriptions on onSessionLeave\n- ✅ Track subscriptions in a map for lifecycle management\n\n### ⚠️ Screen Share Subscription (DIFFERENT from Video!)\n\n**CRITICAL**: Screen share subscription uses `IZoomVideoSDKShareAction` from the callback, NOT `user->GetShareCanvas()`!\n\n```cpp\n\u002F\u002F WRONG - This won't work for remote screen shares!\nuser->GetShareCanvas()->subscribeWithView(hwnd, ...);\n\n\u002F\u002F CORRECT - Use IZoomVideoSDKShareAction from onUserShareStatusChanged callback\nvoid onUserShareStatusChanged(IZoomVideoSDKShareHelper* pShareHelper,\n                               IZoomVideoSDKUser* pUser,\n                               IZoomVideoSDKShareAction* pShareAction) {\n    if (!pShareAction) return;\n    \n    ZoomVideoSDKShareStatus status = pShareAction->getShareStatus();\n    \n    if (status == ZoomVideoSDKShareStatus_Start || \n        status == ZoomVideoSDKShareStatus_Resume) {\n        \u002F\u002F Subscribe to the share using Canvas API\n        IZoomVideoSDKCanvas* shareCanvas = pShareAction->getShareCanvas();\n        if (shareCanvas) {\n            shareCanvas->subscribeWithView(shareWindow_, \n                ZoomVideoSDKVideoAspect_Original);\n        }\n    }\n    else if (status == ZoomVideoSDKShareStatus_Stop) {\n        \u002F\u002F Unsubscribe when share stops\n        IZoomVideoSDKCanvas* shareCanvas = pShareAction->getShareCanvas();\n        if (shareCanvas) {\n            shareCanvas->unSubscribeWithView(shareWindow_);\n        }\n    }\n}\n```\n\n**Why is share different from video?**\n- **Video**: Each user has one video stream → use `user->GetVideoCanvas()`\n- **Share**: A user can have multiple share actions (multi-share) → use `IZoomVideoSDKShareAction*` from callback\n- The `IZoomVideoSDKShareAction` object represents a specific share stream and contains the share status, type, and rendering interfaces\n\n**See also**: [Screen Share Subscription Example](examples\u002Fscreen-share-subscription.md)\n\n### Multi-User Video Layout\n\nFor multiple participants, you need **one HWND per user**:\n\n```cpp\n\u002F\u002F Create separate windows\u002Fpanels for each user\nHWND selfVideoWindow = CreateWindow(...);   \u002F\u002F Your video\nHWND user1Window = CreateWindow(...);       \u002F\u002F User 1's video\nHWND user2Window = CreateWindow(...);       \u002F\u002F User 2's video\n\n\u002F\u002F Subscribe each user to their own window\nmyself->GetVideoCanvas()->subscribeWithView(selfVideoWindow, ...);\nuser1->GetVideoCanvas()->subscribeWithView(user1Window, ...);\nuser2->GetVideoCanvas()->subscribeWithView(user2Window, ...);\n```\n\n**Layout Strategies**:\n- Grid layout (2x2, 3x3)\n- Gallery view (scrollable)\n- Active speaker (large) + thumbnails\n- Picture-in-picture\n\n### Common Video Issues\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Video not showing | Not calling `startVideo()` | Call `videoHelper->startVideo()` in `onSessionJoin` |\n| Artifacts\u002Ftearing | Using Raw Data Pipe | Switch to Canvas API |\n| Poor performance | YUV conversion on UI thread | Use Canvas API or move conversion to worker thread |\n| Video freezes | Not processing Windows messages | Add message pump to main loop |\n| Can't see self | Subscribing to wrong user | Use `session->getMyself()` for self video |\n| Seeing self in remote list | Not excluding self | Check `if (user != myself)` before subscribing |\n\n## Complete Documentation Library\n\nThis skill includes comprehensive guides organized by category:\n\n### Core Concepts (Start Here!)\n- **[SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)** - Universal 3-step pattern for ANY feature\n- **[Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)** - 5-level navigation guide\n- **[Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md)** - Choose your rendering approach\n\n### Complete Examples\n- **[Session Join Pattern](examples\u002Fsession-join-pattern.md)** - JWT auth + session join with full code\n- **[Video Rendering](examples\u002Fvideo-rendering.md)** - Canvas API video display\n- **[Screen Share Subscription](examples\u002Fscreen-share-subscription.md)** - View remote screen shares (DIFFERENT from video!)\n- **[Raw Video Capture](examples\u002Fraw-video-capture.md)** - YUV420 frame capture\n- **[Raw Audio Capture](examples\u002Fraw-audio-capture.md)** - PCM audio capture\n- **[Send Raw Video](examples\u002Fsend-raw-video.md)** - Virtual camera (inject custom video)\n- **[Send Raw Audio](examples\u002Fsend-raw-audio.md)** - Virtual mic (inject custom audio)\n- **[Cloud Recording](examples\u002Fcloud-recording.md)** - Cloud recording control\n- **[Command Channel](examples\u002Fcommand-channel.md)** - Custom command messaging\n- **[Transcription](examples\u002Ftranscription.md)** - Live transcription\u002Fcaptions\n\n### UI Framework Integration\n- **[Win32 Native](examples\u002Fdotnet-winforms\u002FREADME.md#option-1-win32-native-c---direct-sdk)** - Direct SDK usage with Canvas API (best performance)\n- **[WinForms (.NET)](examples\u002Fdotnet-winforms\u002FREADME.md#option-2-winforms-c--ccli-wrapper)** - C++\u002FCLI wrapper + Raw Data Pipe\n- **[WPF (.NET)](examples\u002Fdotnet-winforms\u002FREADME.md#option-3-wpf-c--ccli-wrapper)** - C++\u002FCLI wrapper + BitmapSource conversion\n- **[Production Quality Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review)** - Checklist and common issues\n\n### C++\u002FCLI Wrapper Patterns (Wrapping ANY Native Library)\n- **[Complete Guide](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration)** - 8 patterns for native→.NET interop\n- **[Pattern 1: Basic Structure](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-1-basic-wrapper-structure)** - Project setup, class layout\n- **[Pattern 2: void* Pointers](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-2-opaque-void-pointers)** - Hide native types\n- **[Pattern 3: gcroot Callbacks](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-3-gcrootT-for-nativemanaged-callbacks)** - Native→Managed events\n- **[Pattern 4: IDisposable](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-4-destructor--finalizer-idisposable)** - Cleanup pattern\n- **[Pattern 5: Strings](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-5-string-conversion)** - String^ ↔ wstring\u002Fstring\n- **[Pattern 6: Arrays](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-6-arraybuffer-conversion)** - pin_ptr, Marshal::Copy\n- **[Pattern 7: Threading](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-7-thread-marshaling-native-thread--ui-thread)** - UI thread dispatch\n- **[Pattern 8: LockBits](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-8-lockbits-for-fast-image-manipulation)** - Fast image conversion\n- **[Common Errors](examples\u002Fdotnet-winforms\u002FREADME.md#common-wrapper-errors)** - Troubleshooting\n\n### Troubleshooting\n- **[Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)** - **CRITICAL**: Why callbacks don't fire\n- **[Build Errors](troubleshooting\u002Fbuild-errors.md)** - SDK header dependency fixes\n- **[Common Issues](troubleshooting\u002Fcommon-issues.md)** - Quick diagnostics & error codes\n\n### References\n- **[API Reference](references\u002Fwindows-reference.md)** - 5-level API hierarchy, methods, error codes\n- **[Delegate Methods](references\u002Fdelegate-methods.md)** - All 80+ callback methods\n- **[SKILL.md](SKILL.md)** - Complete navigation guide\n\n### Most Critical Issues (From Real Debugging)\n\n1. **Callbacks not firing** → Missing Windows message loop (99% of issues)\n   - See: [Windows Message Loop Guide](troubleshooting\u002Fwindows-message-loop.md)\n\n2. **Video subscribe returns error 2** → Subscribing too early\n   - See: [Video Rendering](examples\u002Fvideo-rendering.md) - Subscribe in `onUserVideoStatusChanged`\n\n3. **Abstract class errors** → Missing virtual method implementations\n   - See: [Delegate Methods](references\u002Fdelegate-methods.md)\n\n### Key Insight\n\n**Once you learn the 3-step pattern, you can implement ANY feature:**\n1. Get singleton → 2. Implement delegate → 3. Subscribe & use\n\nSee: [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)\n\n## Resources\n\n- **Official Docs**: https:\u002F\u002Fdevelopers.zoom.us\u002Fdocs\u002Fvideo-sdk\u002Fwindows\u002F\n- **API Reference**: https:\u002F\u002Fmarketplacefront.zoom.us\u002Fsdk\u002Fcustom\u002Fwindows\u002F\n- **Dev Forum**: https:\u002F\u002Fdevforum.zoom.us\u002F\n- **GitHub Samples**: https:\u002F\u002Fgithub.com\u002Fzoom\u002Fvideosdk-windows-rawdata-sample\n- **Working Sample**: `C:\\tempsdk\\zoom-video-sdk-windows-sample\\` (complete implementation)\n\n---\n\n**Need help?** Start with [SKILL.md](SKILL.md) for complete navigation.\n\n\n## Merged from video-sdk\u002Fwindows\u002FSKILL.md\n\n# Zoom Video SDK Windows - Complete Documentation Index\n\n## Quick Start Path\n\n**If you're new to the SDK, follow this order:**\n\n0. **Overview** → [windows.md](windows.md)\n1. **Read the architecture pattern** → [concepts\u002Fsdk-architecture-pattern.md](concepts\u002Fsdk-architecture-pattern.md)\n   - Universal formula: Singleton → Delegate → Subscribe\n   - Once you understand this, you can implement any feature\n\n2. **Fix build errors** → [troubleshooting\u002Fbuild-errors.md](troubleshooting\u002Fbuild-errors.md)\n   - SDK header dependencies\n   - Required include order\n\n3. **Implement session join** → [examples\u002Fsession-join-pattern.md](examples\u002Fsession-join-pattern.md)\n   - Complete working JWT + session join code\n\n4. **Fix callback issues** → [troubleshooting\u002Fwindows-message-loop.md](troubleshooting\u002Fwindows-message-loop.md)\n   - **CRITICAL**: Why callbacks don't fire without Windows message loop\n\n5. **Implement video** → [examples\u002Fvideo-rendering.md](examples\u002Fvideo-rendering.md)\n   - Canvas API (SDK-rendered) vs Raw Data Pipe\n\n6. **Troubleshoot any issues** → [troubleshooting\u002Fcommon-issues.md](troubleshooting\u002Fcommon-issues.md)\n   - Quick diagnostic checklist\n   - Error code tables\n\n---\n\n## Documentation Structure\n\n```\nvideo-sdk\u002Fwindows\u002F\n├── SKILL.md                           # Main skill overview\n├── SKILL.md                           # This file - navigation guide\n├── windows.md                          # Secondary overview doc (pointer-style)\n│\n├── concepts\u002F                          # Core architectural patterns\n│   ├── sdk-architecture-pattern.md   # Universal formula for ANY feature\n│   ├── singleton-hierarchy.md        # 5-level navigation guide\n│   └── canvas-vs-raw-data.md         # SDK-rendered vs self-rendered choice\n│\n├── examples\u002F                          # Complete working code\n│   ├── session-join-pattern.md       # JWT auth + session join\n│   ├── video-rendering.md            # Canvas API video display\n│   ├── screen-share-subscription.md  # View remote screen shares\n│   ├── raw-video-capture.md          # YUV420 raw frame capture\n│   ├── raw-audio-capture.md          # PCM audio capture\n│   ├── send-raw-video.md             # Virtual camera (inject video)\n│   ├── send-raw-audio.md             # Virtual mic (inject audio)\n│   ├── cloud-recording.md            # Cloud recording control\n│   ├── command-channel.md            # Custom command messaging\n│   ├── transcription.md              # Live transcription\u002Fcaptions\n│   └── dotnet-winforms\u002F              # UI Framework integration\n│       └── README.md                 # Win32, WinForms, WPF patterns\n│                                     # C++\u002FCLI wrapper patterns\n│                                     # Production quality guidelines\n│\n├── troubleshooting\u002F                   # Problem solving guides\n│   ├── windows-message-loop.md       # CRITICAL - Why callbacks fail\n│   ├── build-errors.md               # Header dependency fixes\n│   └── common-issues.md              # Quick diagnostic workflow\n│\n└── references\u002F                        # Reference documentation\n    ├── windows-reference.md           # API hierarchy, methods, error codes\n    ├── delegate-methods.md            # All 80+ callback methods\n    └── samples.md                     # Official samples guide\n```\n\n---\n\n## By Use Case\n\n### I want to build a video app\n1. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - Understand the pattern\n2. [Session Join Pattern](examples\u002Fsession-join-pattern.md) - Join sessions\n3. [Video Rendering](examples\u002Fvideo-rendering.md) - Display video\n4. [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md) - Fix callback issues\n\n### I'm getting build errors\n1. [Build Errors Guide](troubleshooting\u002Fbuild-errors.md) - SDK header dependencies\n2. [Delegate Methods](references\u002Fdelegate-methods.md) - Abstract class errors\n3. [Common Issues](troubleshooting\u002Fcommon-issues.md) - Linker errors\n\n### I'm getting runtime errors\n1. [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md) - Callbacks not firing\n2. [Common Issues](troubleshooting\u002Fcommon-issues.md) - Error code tables\n\n### I want to view screen shares\n1. [Screen Share Subscription](examples\u002Fscreen-share-subscription.md) - **DIFFERENT from video!**\n2. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - Event-driven pattern\n3. [Video Rendering](examples\u002Fvideo-rendering.md) - Compare with video subscription\n\n### I want to capture raw video\u002Faudio\n1. [Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md) - Choose your approach\n2. [Raw Video Capture](examples\u002Fraw-video-capture.md) - YUV420 frame capture\n3. [Raw Audio Capture](examples\u002Fraw-audio-capture.md) - PCM audio capture\n4. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - Subscription pattern\n\n### I want to send custom video\u002Faudio (virtual camera\u002Fmic)\n1. [Send Raw Video](examples\u002Fsend-raw-video.md) - Inject custom video frames\n2. [Send Raw Audio](examples\u002Fsend-raw-audio.md) - Inject custom audio\n3. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - External source pattern\n\n### I want to record sessions\n1. [Cloud Recording](examples\u002Fcloud-recording.md) - Start\u002Fstop cloud recording\n2. [API Reference](references\u002Fwindows-reference.md) - Recording helper methods\n\n### I want to use live transcription\n1. [Transcription](examples\u002Ftranscription.md) - Enable live captions\n2. [Delegate Methods](references\u002Fdelegate-methods.md) - Transcription callbacks\n\n### I want custom messaging between participants\n1. [Command Channel](examples\u002Fcommand-channel.md) - Send custom commands\n2. [API Reference](references\u002Fwindows-reference.md) - Command channel methods\n\n### I want to build a Win32 native app\n1. [Win32 Integration](examples\u002Fdotnet-winforms\u002FREADME.md#option-1-win32-native-c---direct-sdk) - Direct SDK + Canvas API\n2. [Video Rendering](examples\u002Fvideo-rendering.md) - Canvas API patterns\n3. [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review) - Best practices\n\n### I want to build a WinForms (.NET) app\n1. [WinForms Integration](examples\u002Fdotnet-winforms\u002FREADME.md#option-2-winforms-c--ccli-wrapper) - C++\u002FCLI wrapper + Raw Data\n2. [C++\u002FCLI Patterns](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration) - gcroot, Finalizer, LockBits\n3. [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review) - IDisposable, thread safety\n\n### I want to build a WPF (.NET) app\n1. [WPF Integration](examples\u002Fdotnet-winforms\u002FREADME.md#option-3-wpf-c--ccli-wrapper) - C++\u002FCLI + BitmapSource\n2. [Bitmap Conversion](examples\u002Fdotnet-winforms\u002FREADME.md#2-bitmap--bitmapsource-conversion) - Freeze(), Dispatcher\n3. [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review) - Performance optimization\n\n### I want to use C# \u002F .NET Framework (general)\n1. [.NET Integration Overview](examples\u002Fdotnet-winforms\u002FREADME.md) - **Complete C++\u002FCLI wrapper guide**\n2. [Raw Video Capture](examples\u002Fraw-video-capture.md) - YUV→RGB conversion patterns\n3. [Session Join Pattern](examples\u002Fsession-join-pattern.md) - SDK initialization flow\n\n### I want to wrap ANY native C++ library for .NET\n1. [C++\u002FCLI Wrapper Patterns](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration) - **Complete 8-pattern guide**\n2. [Pattern 1: Basic Structure](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-1-basic-wrapper-structure) - Project setup + class layout\n3. [Pattern 3: gcroot Callbacks](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-3-gcrootT-for-nativemanaged-callbacks) - Native→Managed events\n4. [Pattern 4: IDisposable](examples\u002Fdotnet-winforms\u002FREADME.md#pattern-4-destructor--finalizer-idisposable) - Cleanup pattern\n5. [Common Errors](examples\u002Fdotnet-winforms\u002FREADME.md#common-wrapper-errors) - Troubleshooting\n\n### I want to implement a specific feature\n1. [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) - **START HERE!**\n2. [Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md) - Navigate to the feature\n3. [API Reference](references\u002Fwindows-reference.md) - Method signatures\n\n---\n\n## Most Critical Documents\n\n### 1. SDK Architecture Pattern (MASTER DOCUMENT)\n**[concepts\u002Fsdk-architecture-pattern.md](concepts\u002Fsdk-architecture-pattern.md)**\n\nThe universal 3-step pattern:\n1. Get singleton (SDK, helpers, session, users)\n2. Implement delegate (event callbacks)\n3. Subscribe and use\n\n### 2. Windows Message Loop (MOST COMMON ISSUE)\n**[troubleshooting\u002Fwindows-message-loop.md](troubleshooting\u002Fwindows-message-loop.md)**\n\n99% of \"callbacks not firing\" issues are caused by missing Windows message loop.\n\n### 3. Singleton Hierarchy (NAVIGATION MAP)\n**[concepts\u002Fsingleton-hierarchy.md](concepts\u002Fsingleton-hierarchy.md)**\n\n5-level deep navigation showing how to reach every feature.\n\n---\n\n## Key Learnings\n\n### Critical Discoveries:\n\n1. **Windows Message Loop is MANDATORY**\n   - SDK uses Windows message pump for callbacks\n   - Without it, callbacks are queued but never fire\n   - See: [Windows Message Loop Guide](troubleshooting\u002Fwindows-message-loop.md)\n\n2. **Subscribe in onUserVideoStatusChanged, NOT onUserJoin**\n   - Video may not be ready when user joins\n   - Wait for video status change callback\n   - See: [Video Rendering](examples\u002Fvideo-rendering.md)\n\n3. **Two Rendering Paths**\n   - Canvas API: SDK renders to your HWND (recommended)\n   - Raw Data Pipe: You receive YUV frames (advanced)\n   - See: [Canvas vs Raw Data](concepts\u002Fcanvas-vs-raw-data.md)\n\n4. **Helpers Control YOUR Streams Only**\n   - `videoHelper->startVideo()` starts YOUR camera\n   - To see others, subscribe to their Canvas\u002FPipe\n   - See: [Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)\n\n5. **UI Framework Integration Differs by Platform**\n   - **Win32**: Direct SDK, Canvas API (SDK renders to HWND) - best performance\n   - **WinForms**: C++\u002FCLI wrapper, Raw Data Pipe, YUV→Bitmap, InvokeRequired\n   - **WPF**: Same wrapper + Bitmap→BitmapSource, Dispatcher, Freeze()\n   - See: [UI Framework Integration](examples\u002Fdotnet-winforms\u002FREADME.md)\n\n6. **C++\u002FCLI Wrapper Patterns (for ANY native library → .NET)**\n   - `void*` pointers - hide native types from managed headers\n   - `gcroot\u003CT^>` - prevent GC from collecting managed references in native code\n   - Finalizer + Destructor - `~Class()` and `!Class()` for IDisposable cleanup\n   - `pin_ptr` + `Marshal::Copy` - array\u002Fbuffer conversion\n   - `LockBits` - 100x faster than SetPixel for image manipulation\n   - Thread marshaling - InvokeRequired (WinForms) \u002F Dispatcher (WPF)\n   - See: [C++\u002FCLI Wrapper Guide](examples\u002Fdotnet-winforms\u002FREADME.md#ccli-wrapper-patterns-for-net-integration)\n\n7. **Audio Connection Timing**\n   - Set `audioOption.connect = false` during join\n   - Call `startAudio()` in `onSessionJoin` callback\n   - See: [Production Guidelines](examples\u002Fdotnet-winforms\u002FREADME.md#production-quality-review)\n\n---\n\n## Quick Reference\n\n### \"My code won't compile\"\n→ [Build Errors Guide](troubleshooting\u002Fbuild-errors.md)\n\n### \"Callbacks never fire\"\n→ [Windows Message Loop](troubleshooting\u002Fwindows-message-loop.md)\n\n### \"Video subscription returns error 2\"\n→ [Video Rendering](examples\u002Fvideo-rendering.md) - Subscribe in onUserVideoStatusChanged\n\n### \"Abstract class error\"\n→ [Delegate Methods](references\u002Fdelegate-methods.md)\n\n### \"How do I implement [feature]?\"\n→ [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md)\n\n### \"How do I navigate to [controller]?\"\n→ [Singleton Hierarchy](concepts\u002Fsingleton-hierarchy.md)\n\n### \"What error code means what?\"\n→ [Common Issues](troubleshooting\u002Fcommon-issues.md)\n\n---\n\n## Document Version\n\nBased on **Zoom Video SDK for Windows v2.x**\n\n---\n\n**Happy coding!**\n\nRemember: The [SDK Architecture Pattern](concepts\u002Fsdk-architecture-pattern.md) is your key to unlocking the entire SDK. Read it first!\n\n## Operations\n\n- [RUNBOOK.md](RUNBOOK.md) - 5-minute preflight and debugging checklist.\n",{"name":5,"triggers":49,"description":7,"user-invocable":45},[26,50,51,52,53],"windows video sdk","video sdk raw data windows","windows custom video","c++ video sdk","main","e605d8ddbfb688da57dfaaceebd93f12a64ef1d3","partner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows",3944,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins","https:\u002F\u002Fgithub.com\u002Fanthropics","https:\u002F\u002Fanthropic.com","2026-11-14 06:21:52",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add anthropics\u002Fknowledge-work-plugins --skill video-sdk\u002Fwindows",{"tool":68,"command":69},"bunx","bunx skills add anthropics\u002Fknowledge-work-plugins --skill video-sdk\u002Fwindows",{"tool":71,"command":72},"pnpm","pnpm dlx skills add anthropics\u002Fknowledge-work-plugins --skill video-sdk\u002Fwindows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002FSKILL.md",true,[76,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"concepts\u002Fcanvas-vs-raw-data.md","REFERENCE","参考文档",10350,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fconcepts\u002Fcanvas-vs-raw-data.md",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"concepts\u002Fsdk-architecture-pattern.md",8797,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fconcepts\u002Fsdk-architecture-pattern.md",{"path":87,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":88,"sourceHtmlUrl":89},"concepts\u002Fsingleton-hierarchy.md",22703,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fconcepts\u002Fsingleton-hierarchy.md",{"path":91,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":92,"sourceHtmlUrl":93},"examples\u002Fcloud-recording.md",9140,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fcloud-recording.md",{"path":95,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":96,"sourceHtmlUrl":97},"examples\u002Fcommand-channel.md",9161,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fcommand-channel.md",{"path":99,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":100,"sourceHtmlUrl":101},"examples\u002Fdotnet-winforms\u002FREADME.md",38936,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fdotnet-winforms\u002FREADME.md",{"path":103,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":104,"sourceHtmlUrl":105},"examples\u002Fraw-audio-capture.md",7390,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fraw-audio-capture.md",{"path":107,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":108,"sourceHtmlUrl":109},"examples\u002Fraw-video-capture.md",13357,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fraw-video-capture.md",{"path":111,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":112,"sourceHtmlUrl":113},"examples\u002Fscreen-share-subscription.md",18837,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fscreen-share-subscription.md",{"path":115,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":116,"sourceHtmlUrl":117},"examples\u002Fsend-raw-audio.md",9312,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fsend-raw-audio.md",{"path":119,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002Fsend-raw-video.md",10923,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fsend-raw-video.md",{"path":123,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":124,"sourceHtmlUrl":125},"examples\u002Fsession-join-pattern.md",18188,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fsession-join-pattern.md",{"path":127,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":128,"sourceHtmlUrl":129},"examples\u002Ftranscription.md",11941,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Ftranscription.md",{"path":131,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":132,"sourceHtmlUrl":133},"examples\u002Fvideo-rendering.md",13665,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fexamples\u002Fvideo-rendering.md",{"path":135,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fdelegate-methods.md",32875,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Freferences\u002Fdelegate-methods.md",{"path":139,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fsamples.md",7867,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Freferences\u002Fsamples.md",{"path":143,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Fwindows-reference.md",43706,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Freferences\u002Fwindows-reference.md",{"path":147,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":148,"sourceHtmlUrl":149},"RUNBOOK.md",2294,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002FRUNBOOK.md",{"path":151,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":152,"sourceHtmlUrl":153},"troubleshooting\u002Fbuild-errors.md",6112,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Ftroubleshooting\u002Fbuild-errors.md",{"path":155,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":156,"sourceHtmlUrl":157},"troubleshooting\u002Fcommon-issues.md",7382,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Ftroubleshooting\u002Fcommon-issues.md",{"path":159,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":160,"sourceHtmlUrl":161},"troubleshooting\u002Fwindows-message-loop.md",7100,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Ftroubleshooting\u002Fwindows-message-loop.md",{"path":163,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":164,"sourceHtmlUrl":165},"windows.md",1964,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fpartner-built\u002Fzoom-plugin\u002Fskills\u002Fvideo-sdk\u002Fwindows\u002Fwindows.md",[167,194,219,241,269,295],{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":44},"01M718Y97HCGW12Q53PSJDY03W","ticket-deflector","Reads a forwarded customer email or ticket, pulls order and refund status from a payments connector (PayPal, Square, or Stripe) or Shopify, account history from the CRM, and open tickets from a support desk (Zoho Desk), drafts a tone-matched reply in the owner's writing voice, and can issue a refund through the payments connector with explicit owner approval. With Shopify connected it also runs a proactive order-triage mode that surfaces orders needing attention — unfulfilled past the promised window, payment problems, pending refunds, stuck shipments — and drafts the next action for each before the customer has to ask. Use when the user says \"draft a response,\" \"answer this customer,\" \"where's my order,\" \"I want a refund,\" \"check my orders,\" or \"anything about to blow up.\"","https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fsmall-business\u002Fskills\u002Fticket-deflector\u002FSKILL.md",[],[174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193],"ticket","ticket deflector","mode","up","payments","open","writing","when","workflow","ask","Connector","text","mail","window","next","customer","support","crm","past","read",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":44},"01M718Y55HFAN5705ME5VEDZ9K","tax-season-organizer","Prepares tax-season materials for the owner's accountant, not tax advice. US federal tax; a non-US business gets its closed-books packet instead. Two modes: (1) quarterly estimated tax from YTD net income in the ledger (MYOB, NetSuite, QuickBooks, Xero, or Zoho Books); (2) year-end 1099 prep, scanning the ledger, PayPal, and Stripe for contractors paid over USD 600 into a 1099-NEC list with missing W-9 flags.\nAny tax request routes first to \u002Ftax-prep, which confirms the books are closed and reconciled before running this skill. Use this skill directly only when the owner says the period's books are already closed: \"books are closed, now do the 1099s,\" \"run the quarterly estimate off the closed numbers,\" or \"just the contractor W-9 list.\"","https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fsmall-business\u002Fskills\u002Ftax-season-organizer\u002FSKILL.md",[],[201,202,203,204,205,206,207,208,209,210,181,211,212,213,214,215,193,216,217,218],"tax season organizer","tax","us federal","which","netsuite","paid","end","usd","only","now","books","xero","scanning","run","request","flags","list","stripe",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":225,"publishedAt":44},"01M718Y13VVPHDD9NTDBVFJ2AZ","tax-prep","Prepares tax materials as a two-link chain — month-end-prep confirms the books are closed and reconciled first, then tax-season-organizer calculates the quarterly estimated payment or builds the year-end 1099-NEC list and accountant packet from those closed numbers. Requires a ledger (MYOB, NetSuite, QuickBooks, Xero, or Zoho Books); uses Gusto, PayPal, and Stripe when connected, else CSV upload. US federal tax math; a non-US business gets the closed-books packet. Prep material for a CPA, never tax advice, nothing filed. Trigger on \"quarterly taxes,\" \"estimated tax payment,\" \"how much should I set aside,\" \"1099s,\" \"1099-NEC,\" \"W-9s,\" \"year-end tax prep,\" \"get my books ready for my accountant,\" any phrasing that suggests a tax deadline is coming, or a question about net profit or YTD income that sounds like worry about a tax bill. An owner who says the period's books are already closed routes to tax-season-organizer directly.","https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fsmall-business\u002Fskills\u002Ftax-prep\u002FSKILL.md",[],[226,202,227,228,203,229,230,205,231,232,233,234,235,38,236,207,237,238,239,240],"tax prep","prep","SET","as","ready","never","zoho books","get","chain","profit","trigger","material","question","paypal","business",{"skillNo":242,"name":243,"nameZh":6,"description":244,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":245,"categories":246,"keywords":252,"publishedAt":44},"01M718XWTWQZ01GYSG9T8RW8TW","speed-to-lead","Makes sure no inbound lead goes unanswered. Watches web forms, the shared inbox, and the CRM for new inquiries, qualifies each one against the owner's criteria, drafts a reply in the owner's voice with real meeting times for the owner to approve and send, routes anything hot to a human right away, and logs the whole thing to the CRM. Never sends on its own. Built to run on a schedule so overnight inquiries are drafted and sorted by morning, and works from forwarded or pasted inquiries when no connector is available. Use this whenever the owner is worried about inbound leads or response time — including phrasings like \"leads are going cold,\" \"did anyone answer that inquiry,\" \"I keep missing form submissions,\" \"nothing falls through the cracks,\" \"handle my inbound,\" \"respond to this lead,\" or \"we lose people because nobody gets back fast enough.\" Reach for it for a single unanswered inquiry as readily as for a standing setup.","https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fsmall-business\u002Fskills\u002Fspeed-to-lead\u002FSKILL.md",[247],{"categoryNo":248,"categoryName":249,"taxonomyType":250,"taxonomyTypeDesc":251},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[253,254,255,256,257,258,231,41,259,260,261,262,263,264,181,265,266,184,267,268],"speed to lead","lead","speed","shared","back","cold","inbox","send","respond","new","web forms","people","schedule","logs","sure","human",{"skillNo":270,"name":271,"nameZh":6,"description":272,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":273,"categories":274,"keywords":278,"publishedAt":44},"01M718XQYMN1KY3TPS33967FK0","social-content-engine","Runs the owner's content operation as a standing thing rather than a one-off: keeps a rolling posting calendar, learns the owner's voice, generates on-brand Canva graphics, writes captions that sound like them, repurposes one asset into every channel format, and stages posts for approval instead of publishing on its own. Pulls product photos and prices from Shopify when connected; with no connectors, drafts the calendar and asset briefs for manual posting. Use this whenever the owner talks about posting, content, or social — including \"I need to post more,\" \"we've gone quiet on Instagram,\" \"what should we post this month,\" \"make the content,\" \"give me a month of posts,\" \"write this in my voice,\" \"repurpose this,\" or \"set up our content calendar.\" Reach for it for a single post as readily as for a full quarter. One handoff: a finished, approved campaign brief goes to canva-creator; this skill owns the standing operation.","https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fsmall-business\u002Fskills\u002Fsocial-content-engine\u002FSKILL.md",[275],{"categoryNo":276,"categoryName":277,"taxonomyType":250,"taxonomyTypeDesc":251},"01JBSEEDCAT000000000000036","内容创作者",[279,280,281,282,283,284,228,285,286,287,288,177,289,181,290,291,292,193,293,294],"social","social content engine","engine","content engine","social content","content","brief","posts","Captions","prices","campaign","me","product","calendar","write","drafts",{"skillNo":296,"name":297,"nameZh":6,"description":298,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":299,"categories":300,"keywords":301,"publishedAt":44},"01M718XMPJVH0EVRVP998BVZPC","smb-router","The front door to the Small Business plugin. Listens to what the owner needs right now — vague or specific — and routes them to the best skill or slash command for the moment. Also serves as a guide: explains what's available, suggests what to try next, and adapts recommendations based on stored business context. Trigger whenever the owner asks \"what can you do,\" \"help me with my business,\" \"what should I focus on,\" \"I don't know where to start,\" or any open-ended business request that doesn't clearly match a single skill.","https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fknowledge-work-plugins\u002Fblob\u002Fmain\u002Fsmall-business\u002Fskills\u002Fsmb-router\u002FSKILL.md",[],[302,303,304,229,305,38,236,306,179,307,210,240,308,309,310,311,312,290,313,188],"router","smb","smb router","do","front","single","you","vague","can","with","plugin","focus"]