Only  $9.9! Get 50,000 minutes with our Starter Plan, perfect for your MVP project.
Only $9.9! Get 50,000 minutes with our Starter Plan, perfect for your MVP project.
Grab It Now 
Conference
Overview
  • Web
    • Integration
    • UI Customization
    • In-Conference Chat
    • Cloud Recording
    • API Documentation
      • API Overview
      • TUIRoomKit
      • TUIRoomEngine
      • TUIRoomEvents
      • TUIRoomEngine Defines
    • FAQs
  • iOS
    • Integration
    • UI Customization
    • Conference Control
    • In-Conference Chat
    • Cloud Recording
    • API Documentation
      • API Overview
      • TUIRoomKit
      • TUIRoomEngine
      • TUIRoomObserver
      • Type Definition
    • FAQs
  • Android
    • Integration
    • UI Customization
    • Conference Control
    • In-Conference Chat
    • Cloud Recording
    • API Documentation
      • API Overview
      • TUIRoomKit
      • TUIRoomEngine
      • TUIRoomObserver
      • Type Definition
    • FAQs
  • Electron
    • Integration
    • UI Customization
    • In-Conference Chat
    • Cloud Recording
    • API Documentation
      • API Overview
      • TUIRoomKit
      • TUIRoomEngine
      • TUIRoomEvent
      • TUIRoomEngine Defines
    • FAQs
  • Windows
    • Integration
    • UI Customization
    • Cloud Recording
    • API Documentation
      • API Overview
      • TUIRoomEngine
      • TUIRoomObserver
      • Type Definition
  • Flutter
    • Integration
    • UI Customization
    • Conference Control
    • Cloud Recording
    • API Documentation
      • API Overview
      • TUIRoomEngine
      • TUIRoomObserver
      • Type Definition
    • FAQs
  • Overview
    • Overview
  • Activate the Service
  • Pricing
    • TRTC Conference Monthly Packages
    • Pay-As-You-Go
    • Free Minutes
  • Error Code
Conference

Integration

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



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";
QProcess::startDetached(app_path);
}



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 info_rtc@tencent.com.