Live Audio Room
  • iOS
  • Android : Java
  • Introduction
  • Sample app
  • Getting started
  • Guides
    • Manage rooms
    • Manage audio
    • Manage speaker seats
    • Manage messages
  • Error codes

Sample app

Last updated:2022-04-20 10:16

Sample app

Here we provide you with a sample application to experience the following core features of the ZEGOCLOUD Live Audio Room:

  • Create/Join a live audio room
  • Take/Leave a speaker seat
  • Invite listeners to speak
  • Send virtual gifts

The source codes are available on Github to enable you to build your first Live Audio Room application.

To run the sample codes, remember to contact us to activate the Live Audio Room (RTC + IM) service first.

UI reference

The main UIs of the sample app and their corresponding classes in the source code are as follows:

  1. UserLoginActivity: The user login page. You will jump to the room login page after you fill in the user information and tap the Log In button.

  2. RoomLoginActivity: The room login page. You will jump to the in-room page after creating or joining a room.

  3. LiveAudioRoomActivity: In-room pages. Listeners and hosts will see different in-room pages.

    a. The UI that a listener sees when he enters a live audio room.

    b. The UI that the host sees when he enters a live audio room.

Page Directory