Last updated: 2023-09-25 10:48:05Download PDF
This article will introduce how to complete the integration of the TUIRoomKit Component in the shortest time. By following this document, you will complete the following key steps within an hour and finally obtain a Real-time Conference SDK with a complete UI interface. This includes Member Management, Screen Sharing, chat, Free Speech, Request to Speak mode, and other functions.

Step 1: Activate the service

TUIRoomKit is currently in the beta testing stage, and the SDK capabilities are available for free for a limited time. For more information on product beta testing, please refer to the announcement about the audio/video conference Conference beta testing.
First, please Create an application in the TRTC Console and record the SDKAppID and SecretKey parameters. These parameters will be used in the subsequent integration process. The location of the application creation and parameters is shown in the following figure:

Step 2: Download TUIRoomKit Project Code

1. Download TUIRoomKit Component Code Click Github, clone or download TUIRoomKit repository code, Windows-Mac directory is the directory for Windows project.
2. Modify User Configuration
Enter the Windows-Mac directory, open the utils\usersig\win\GenerateTestUserSig.h file, and modify the SDKAppID and Secret Key.

Step 3: Configure Development Environment

Windows Environment:
Visual Studio 2015 or higher integrated development environment.
QT5.9.1 or higher version of Qt development library.
QT development plugin Qt Visual Studio Tools 2.2.0 or higher for VS.
Minimum supported system: Windows 8.1.
Please ensure that your integrated development environment can develop normally.

Step 4: Configure TUIRoomKit Project

1. Enter the RoomKit directory, use Visual Studio to open the RoomKit.vcxproj file, and open the TUIRoomKit project.
2. Configure QT development settings:

3. Compile the TUIRoomKit project and generate the RoomKit.exe program.

Step 5: Externally Launch TUIRoomKit Program

1. Open VS, select Qt Widgets Application project type, and create TestApp project.

2. Write the program to start the process and invoke the LoadRoomApp function at the appropriate location.
#include <QProcess>
#include <QApplication>
void LoadRoomApp() {
QString executable_file_path = QApplication::applicationDirPath();
QString app_path = executable_file_path + "/RoomKit.exe";

3. Compile the project and copy the output of RoomKit compilation to the current executable program directory, taking the release x86 program as an example: Copy all files in the TUIRoomKit\Windows-Mac\RoomKit\bin\Win32\Release directory to the current program directory.
4. Execute the program, and simultaneously launch RoomKit with TestApp.

Suggestions and Feedback

If you have any suggestions or feedback, please contact