Skip to main content

Using video calls with the Banuba SDK

In our example, AgoraRTC SDK is used for video streaming. But the integration can be done based on any video streaming library.

important

You should have client tokens for both AgoraRTC SDK and Banuba SDK.
To receive Banuba SDK token, fill in the form on banuba.com, or contact us via info@banuba.com.
To generate an AgoraRTC SDK tokens, visit Agora website.

Example of using video calls with the Banuba SDK



Installation

  1. Add banuba-sdk-podspecs repo along with AgoraRtcEngine_iOS and BanubaSdk packages into the your Podfile. Alternatively you may use our SPM modules
info

See the details about the Banuba SDK packages in Installation.

Integration

  1. Setup client tokens
videocall/videocall/ViewModel.swift
loading...
  1. Initialize BanubaSdkManager
common/common/AppDelegate.swift
loading...
  1. Initialize AgoraRtcEngineKit, setup video/audio encoders and join the channel
videocall/videocall/ViewModel.swift
loading...
  1. Setup Player, load the effect and start Camera frames forwarding
videocall/videocall/ViewModel.swift
loading...
  1. Run the application! 🎉 🚀 💅