Run Sample Code
This document mainly introduces how to quickly run through the Conference (TUIRoomKit) sample project and experience a high-quality multi-person video conference. By following this document, you can run through the demo within 10 minutes and ultimately experience a multi-person video conference feature with a complete UI interface.
Conference creation page | Conference main page |
| |
Prerequisites
Minimum compatibility with Android 4.4 (SDK API Level 19), with Android 5.0 (SDK API Level 21) or higher recommended.
Android Studio 3.5 or above.
Download the Demo
1. Download the TUIRoomKit Demo source code from GitHub, or directly execute the following command in the command line:
2. Open the TUIRoomKit Android project via Android Studio:
Configure the Demo
1. Activate the Conference services, to obtain the SDKAppID and SDKSecretKey.
2. Open the project and find the
Android/debug/src/main/java/com/tencent/liteav/debug/GenerateTestUserSig.java
file. Enter the corresponding SDKAppID and SDKSecretKey obtained from Back:
Running the Demo
1. In the top right corner of Android Studio, select the device you want to run the Demo on as shown below:
2. After selection, click to run, deploying the TUIRoomKit Android Demo to the target device.
APP main page | Conference creation page |
| |
Create your first conference
Click on the Create Room button to create your first meeting room. The room types are On-stage Speaking Room and Free Speech Room.
Free Speech Room: Regular users can freely speak and have the liberty to turn their microphones and cameras on or off.
On-stage Speaking Room: Only users on stage can freely turn their microphones and cameras on or off. Regular audience members can apply to become stage users by raising their hand.
Free speech room member management panel | On-stage speaking room member list panel |
| |
Join conference
After clicking Join Room, participants can join the meeting created by the host by filling in the corresponding
RoomId
.Join conference page | Conference main page |
| |