Agora provides an open-source Agora Live sample project on GitHub. This sample project demonstrates how to use the Agora RTC SDK, Agora RTM SDK, and third-party image enhancement SDK to implement the following interactive live streaming scenarios:
This document introduces how to run this project and experience interactive live video streaming in each scenario.
Go to GitHub, and download or clone the AgoraLive repository.
Download the FaceUnity bundle files from Agora, extract the files from the downloaded package, and then copy the Faceunity
folder to AgoraLive-iOS/Resource
.
Contact FaceUnity for a certificate file named authpack.java
, and then move this file to AgoraLive/iOS/Resource/Faceunity
.
Go to AgoraLive-iOS/AgoraLive
, and then run the following command to link dependencies.
pod install
If you get stuck in linking the dependencies, you can replace the source url in AgoraLive-iOS/AgoraLive/Podfile
as follows, save the change, and then run pod install
again.
// Before replacing
source 'https://github.com/CocoaPods/Specs.git'
// After replacing
source 'https://cdn.cocoapods.org/'
AgoraLive-iOS/AgoraLive/AgoraLive.xcworkspace
folder with Xcode. If Xcode reports "Error: Multiple commands produce
", you can troubleshoot as follows: