videocall-ios-swift icon indicating copy to clipboard operation
videocall-ios-swift copied to clipboard

Video call using Agora.io SDK with face masks provided by DeepAR SDK

videocall-ios-swift

This example demonstrates how to use DeepAR SDK to add face filters and masks to your video call using Agora video calling SDK

To run the example

  • Go to https://developer.deepar.ai, sign up, create the project and the iOS app, copy the license key and paste it to ViewController.swift (instead of your_license_key_goes_here string)
  • Download the SDK from https://developer.deepar.ai and copy the DeepAR.framework into videocall-ios-swift/Frameworks folder
  • Sign up on Agora, get the App Id, download the Video Call SDK (Agora_Native_SDK_for_iOS_v3_4_0_FULL.zip) and extract the files
  • Copy all files from the libs folder to the videocall-ios-swift/Frameworks folder
  • In AgoraID.swift, replace your_agora_app_id_here with your agora app id
  • Run the app on 2 devices and initiate the call on both of them. You should be streaming from one device to another using Agora Video SDK and DeepAR.