tencent cloud

Feedback

Last updated: 2024-04-12 11:29:00
    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.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support