Sample app
- Download
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:
)
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.
RoomLoginActivity: The room login page. You will jump to the in-room page after creating or joining a room.
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.