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.
Follow the steps to integrate the FaceUnity SDK into the sample project:
Download FaceUnity SDK v6.4 from the GitHub release. If you cannot download the SDK due to network connectivity issues, try downloading it from Agora here.
Extract the files from the downloaded SDK package, and copy the following files to the folders of your project:
Files in the FaceUnity SDK package | File path of your project |
---|---|
/FaceUnity/Android/assets |
AgoraLive-Android/faceunity/src/main/assets |
/FaceUnity/Android/jniLibs |
AgoraLive-Android/faceunity/src/main/jniLibs |
/FaceUnity/Android/libs/nama.jar |
AgoraLive-Android/faceunity/libs |
Contact FaceUnity for a certificate file named authpack.java
, and then replace faceunity/src/main/java/com/faceunity/authpack.java
with your authpack.java
.
To experience or implement a virtual host scenario, download the avatar resources from Agora here.
Extract the files from the downloaded package, and copy the following files to Agora-Live/faceunity/app/src/main/assets
:
bg.bundle
girl.bundle
hashiqi.bundle
AndroidLive-Android
folder with Android Studio.