desktop
The steps below apply to desktop integration (Windows and/or macOS) with C++.
-
Download Banuba SDK binaries from GitHub.
-
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.
-
Create rendering context or copy and paste into your project ready-to-use helpers sources based on GLFW
-
Setup
BNB_CLIENT_TOKEN
helpers/src/BanubaClientToken.hpp
loading...
- Initialize Banuba SDK with the Client Token and path to resources from the archive
with the binaries. Create
Player,Camera,InputandOutputand load the effect.
realtime-camera-preview/main.cpp
loading...
- 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.