Skip to main content

desktop

The steps below apply to desktop integration (Windows and/or macOS) with C++.

  1. Download Banuba SDK binaries from GitHub.

  2. Integrate libraries downloaded on the previous step into your build system. If you use CMake, consider our quickstart-desktop-cpp sample.

for Windows

Besides the Banuba SDK itself, you will require third party libraries from the bin folder.

  1. Create rendering context or copy and paste into your project ready-to-use helpers sources based on GLFW

  2. Setup BNB_CLIENT_TOKEN

helpers/src/BanubaClientToken.hpp
loading...
  1. Initialize Banuba SDK with the Client Token and path to resources from the archive with the binaries. Create Player, Camera, Input and Output and load the effect.
realtime-camera-preview/main.cpp
loading...
  1. Run the application! 🎉 🚀 💅
info

The effects are also resources, you may initialize Banuba SDK with several resource paths (one for effects and one for SDK assets).

for macOS

Resources for MacOS are inside BanubaEffectPlayer.xcframework.