Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 3.47 KB

README.md

File metadata and controls

69 lines (49 loc) · 3.47 KB

Audio Chatroom

This document introduces how to quickly run through Audio Chatroom sample project.

Demo effect:

Prerequisites

  • Android Studio 4.0 or higher
  • Android SDK API Level 24 or higher
  • A mobile device that runs Android 7.0 or higher

Project Setup

  1. Follow The Account Document to get the App ID and App Certificate.
  2. Follow Signaling Beginner's Guide to enable signaling in Agora Console. You should enable the following:
  • Using storage
  • User attribute callback
  • Channel attribute callback
  • Distributed lock
  1. Follow Enable and configure Chat to enable Chat in Agora Console and get the IM_APP_KEY, IM_APP_CLIENT_ID and IM_APP_CLIENT_SECRET.
  2. Open the Android project and fill in properties got above to the root gradle.properties file.
# RTC SDK key Config
AGORA_APP_ID=<Your Agora App ID>
AGORA_APP_CERTIFICATE=<Your Agora App Certificate>
  
# IM SDK key Config
IM_APP_KEY=
IM_APP_CLIENT_ID=
IM_APP_CLIENT_SECRET=
  1. Now you can run the project with android studio to experience the application.

Source Code sitemap

Path(Android/scenes/voice/src/main/java/io/agora) Description
scene/voice/global/ Basic Module
scene/voice/imkit/ IM Manager
scene/voice/model/ Basic Model
scene/voice/netkit/ Net Manager
scene/voice/rtckit/ Rtc Manager
scene/voice/service/ Service
scene/voice/ui/ Living room detail view.
scene/voice/viewmodel View Model

Feedback

If you have any problems or suggestions regarding the sample projects, feel free to file an issue.

Related Resources

  • Check our FAQ to see if your issue has been recorded.
  • Dive into Agora SDK Samples to see more tutorials.
  • Take a look at Agora Use Case for more complicated real use cases.
  • Repositories managed by developer communities can be found at Agora Community.
  • If you encounter problems during integration, feel free to ask questions on Stack Overflow.

License

The sample projects are under the MIT license.