### Install vcpkg and Dependencies Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/ChatDemo/README.md Instructions for cloning vcpkg, bootstrapping it, and integrating it with your system. Then, use vcpkg to install the CURL and JSON Parser libraries. ```bash git clone https://github.com/Microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.sh ./vcpkg integrate install --vcpkg-root c:\vcpkg ``` ```bash ./vcpkg install curl ``` ```bash ./vcpkg install jsoncpp ``` -------------------------------- ### Configuration File Example Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/ChatDemo/README.md Example of a `config.json` file used to provide SDK authentication (JWT token), meeting details, and video source for the application. ```json { "sdk_jwt": "", "meeting_number": , "passcode": "", "video_source": "Big_Buck_Bunny_1080_10s_1MB.mp4", "zak":"" } ``` -------------------------------- ### Install vcpkg Dependencies Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/SendShareScreenRawData/README.md Commands to clone vcpkg, bootstrap it, and integrate it with your system. Then, install essential libraries like cURL, jsoncpp, and opencv. ```bash git clone https://github.com/Microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.sh ./vcpkg integrate install --vcpkg-root c:\vcpkg ``` ```bash ./vcpkg install curl ``` ```bash ./vcpkg install jsoncpp ``` ```bash ./vcpkg install opencv ``` -------------------------------- ### Configuration File Example Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/README.md Create a 'config.json' file in each sample folder with your SDK JWT, meeting details, and video source. The 'zak' field can be left empty if not used. ```json { "sdk_jwt": "aaaa.bbbbb.ccccccc", "meeting_number": "123123123123", "passcode": "123123", "video_source": "Big_Buck_Bunny_720_10s_1MB.mp4", "zak": "" } ``` -------------------------------- ### Clone the Repository Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/README.md Use this command to download the project files. Ensure you have Git installed. ```bash git clone https://github.com/tanchunsiong/MSDK_RawDataDemos.git ``` -------------------------------- ### Install Additional OpenCV Libraries Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/SendShareScreenRawData/README.md Command to install additional OpenCV libraries using vcpkg, which may be necessary for certain functionalities. This process can be time-consuming. ```bash ./vcpkg install opencv[contrib,ffmpeg,nonfree,opengl,openmp,world] ``` -------------------------------- ### Build WPFSkeletonDemo with MSBuild Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/WPFSkeletonDemo/README.md Use MSBuild for building C++ projects. Ensure the correct configuration and platform are specified. ```bash msbuild WPFSkeletonDemo.sln /p:Configuration=Debug /p:Platform=x64 ``` -------------------------------- ### Run WPF Application Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/WPFSkeletonDemo/README.md Execute the WPF application from the project root directory after building. ```bash # From the project root directory start WPFSkeletonDemo\bin\x64\Debug\net6.0-windows\WPFSkeletonDemo.exe ``` -------------------------------- ### Build Solution with MSBuild Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/WPFSkeletonDemo/README.md Use MSBuild for building mixed C++/C# projects. Ensure the correct configuration and platform are specified. ```bash # Build the entire solution msbuild WPFSkeletonDemo.sln /p:Configuration=Debug /p:Platform=x64 # Or build individual projects in order: msbuild ZoomSDKWrapper\ZoomSDKWrapper.vcxproj /p:Configuration=Debug /p:Platform=x64 msbuild WPFSkeletonDemo\WPFSkeletonDemo.csproj /p:Configuration=Debug /p:Platform=x64 ``` -------------------------------- ### Avoid dotnet build for C++ Projects Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/WPFSkeletonDemo/README.md The 'dotnet build' command is not suitable for projects involving C++ components like the ZoomSDKWrapper. Always use 'msbuild'. ```bash dotnet build WPFSkeletonDemo.sln ``` -------------------------------- ### Visual Studio Additional Include Directories Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/ChatDemo/README.md Configuration for Visual Studio to resolve 'json/json.h' errors by adding the include path for the JSON parser library. ```text C:\yourpath\whereyouinstalled\vcpkg\packages\jsoncpp_x64-windows\include ``` ```text C:\yourpath\whereyouinstalled\vcpkg\packages\jsoncpp_x86-windows\include ``` -------------------------------- ### Visual Studio Project Configuration for JSON Header Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/SkeletonDemo/README.md Instructions for adding the JSON include directory to your Visual Studio project properties to resolve 'json.h' not found errors. This is crucial for projects using jsoncpp. ```plaintext Visual Studio Project -> Properties. Under C/C++ ->General ->Additional Include Directories, C:\yourpath\whereyouinstalled\vcpkg\packages\jsoncpp_x64-windows\include or C:\yourpath\whereyouinstalled\vcpkg\packages\jsoncpp_x86-windows\include ``` -------------------------------- ### Troubleshooting JSON Header Inclusion Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/GetAudioRawData/README.md Instructions for adding the JSON library's include directory to your Visual Studio project properties to resolve 'json.h' not found errors. ```text Visual Studio Project -> Properties. Under C/C++ ->General ->Additional Include Directories, ### x64 C:\yourpath\whereyouinstalled\vcpkg\packages\jsoncpp_x64-windows\include or ### x86 C:\yourpath\whereyouinstalled\vcpkg\packages\jsoncpp_x86-windows\include ``` -------------------------------- ### Enable Auto Join Audio Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/GetAudioRawData/README.md C++ code snippet demonstrating how to enable auto-joining audio for a meeting using the Zoom SDK's audio settings. ```cpp //set join audio to true ZOOM_SDK_NAMESPACE::IAudioSettingContext* pAudioContext = settingService->GetAudioSettings(); if (pAudioContext) { pAudioContext->EnableAutoJoinAudio(true); } ``` -------------------------------- ### Joining Meeting Without Login Parameter Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/SendAudioRawData/README.md Ensures that audio is not turned off when joining a meeting by setting `isAudioOff` to `false`. ```cpp joinMeetingWithoutLoginParam.isAudioOff = false; ``` -------------------------------- ### Include Meeting Recording Interface Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/LocalRecording/README.md Include the necessary header file for accessing meeting recording functionalities within your C++ application. ```cpp #include ``` -------------------------------- ### Configure Meeting Settings Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/WPFSkeletonDemo/README.md Edit the `config.json` file to provide your JWT token, meeting number, passcode, and desired user name. ```json { "SdkJwt": "your_jwt_token_here", "MeetingNumber": "4046552925", "Passcode": "your_meeting_passcode", "UserName": "Your Display Name" } ``` -------------------------------- ### Enable Auto Join Audio Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/SendAudioRawData/README.md Enables the automatic joining of audio when entering a Zoom meeting. This is crucial for receiving audio callbacks. ```cpp //set join audio to true ZOOM_SDK_NAMESPACE::IAudioSettingContext* pAudioContext = settingService->GetAudioSettings(); if (pAudioContext) { pAudioContext->EnableAutoJoinAudio(true); } ``` -------------------------------- ### Convert Raw YUV Video to MP4 using FFmpeg Source: https://github.com/tanchunsiong/zoom_meetingsdk_windows_rawdatademos/blob/master/LocalRecording/README.md Use FFmpeg to convert raw YUV video data into a playable MP4 format. Specify pixel format, video size, and framerate for accurate conversion. ```bash ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280*720 -framerate 25 -i output.yuv -f mp4 output.mp4 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.