Please note that this repository is now in a read-only state and will not receive any further updates or support.
We recommend using to the latest versions of the Agora Video SDK and Agora Signaling SDK
For documentation and support, please visit the Agora Documentation.
其他语言版本:中文
-
= Cocos Creator 2.4
- iOS SDK 8.0+
- Android 5.0+
- A valid Agora account Sign up for free.
Open the specified ports in Firewall Requirements if your network has a firewall.
In the next step, you need to use the App ID of your project. Follow these steps to Create an Agora project in Console and get an App ID.
- Go to Console and click the Project Management icon on the left navigation panel.
- Click Create and follow the on-screen instructions to set the project name, choose an authentication mechanism (for this project select App ID without a certificate), and Click Submit.
- On the Project Management page, find the App ID of your project.
Check the end of document if you want to use App ID with the certificate.
- Download and extract the zip file (or clone this repository).
- Find
~/.CocosCreator/services/agora
and replace all files. - Download Agora SDK which matched the version,the version code part of
package.json/version
value in the middle. Sample as1.2.1_3.1.2_3.2.1
,you need to download the3.1.2
version of SDK.- SDK link sample:
- Audio:
- Video:
- SDK link sample:
- Extract SDK to the
resources/sdk
folder(Audio and Video in different folder).android/agora/audio
andandroid/agora/video
folders save the.so
file,android/lib/audio
andandroid/lib/video
save the.jar
file.ios/agora/audio
andios/agora/video
folders save the.framework
file. (Not need, use Cocoapods instead of now)
- Finally, Use Cocos Creator build to make SDK work.
- Agora API doc
MIT