This document describes the TUIRoom
component for PC, an audio/video communication and collaboration tool with flexible layout and high adaptability. It can be used in various scenarios such as online collaboration, remote recruitment, remote diagnosis, insurance claim, online customer service, video interview, digital government services, finance digitization, online conferencing, and online education. It is integrated in depth with many industrial scenarios to help enterprises reduce costs, improve efficiency, and promote digitization for higher competitiveness.
You can download and install the application for Windows or macOS to try out the component.
![]() |
![]() |
TUIRoom
integrates various capabilities such as ultra-low-latency audio/video call, chat room, screen sharing, beauty filter, device detection, and statistics, covering the common features of group audio/video room.Two connection methods are recommended to help you quickly connect to the group audio/video room feature. You can select an appropriate method for secondary development.
TestApp
project.Open Visual Studio, select the Qt Widgets Application project type, and create the TestApp
project.
Write the process starting program and call the LoadRoomApp
function at an appropriate position.
#include <QProcess>
#include <QApplication>
void LoadRoomApp() {
QString executable_file_path = QApplication::applicationDirPath();
QString app_path = executable_file_path + "/RoomApp.exe";
QProcess::startDetached(app_path);
}
Compile the project and copy the RoomApp compilation result to the directory of the current executable program. Here, a release x86
program is taken as an example:
Copy all files in the TUIRoom\Windows-Mac\RoomApp\bin\Win32\Release
directory to the current program directory.
Run the program to start TestApp and RoomApp at the same time.
Module
module in the application source code to customize your own UI.Module
module in the source code encapsulates the TRTC and IM SDKs. You can view the API functions and other definitions provided by this module in TUIRoomCore.h
, TUIRoomCoreCallback.h
, and TUIRoomDef.h
files and use the corresponding APIs to implement your own custom UI.App
directory contains UI design and logic. You can modify the RoomApp source code for secondary development. The main features are described below:Feature | File Directory |
---|---|
Homepage login | Windows-Mac\RoomApp\App\LoginViewController.cpp |
Device testing | Windows-Mac\RoomApp\App\PresetDeviceController.cpp |
Main UI | Windows-Mac\RoomApp\App\MainWindow.cpp |
Speaker list | Windows-Mac\RoomApp\App\StageListController.cpp |
Member list | Windows-Mac\RoomApp\App\MemberListViewController.cpp |
Settings page | Windows-Mac\RoomApp\App\SettingViewController.cpp |
Chat room | Windows-Mac\RoomApp\App\ChatRoomViewController.cpp |
Screen sharing | Windows-Mac\RoomApp\App\ScreenShareWindow.cpp |
Bottom toolbar | Windows-Mac\RoomApp\App\BottomBarController.cpp |
If you have any requirements or feedback, contact colleenyu@tencent.com.
Was this page helpful?