• Product
  • Solutions
  • Developers
  • Demo
  • Promotion
  • Company
EdgeOne Logo
Back to Templates

TRTC Conference UIKit

This template is designed to help users quickly deploy and experience high-quality online conference.

View Demo
FrameworkVue.js
Use CaseVideo Chat
This template is designed to help users quickly deploy and experience high-quality online conference.

TRTC Conference UIKit

This template is designed to help users quickly deploy and experience high-quality online meetings. In actual application scenarios, whether it is a friendly chat between friends thousands of miles apart, or private communication between business partners, using this template, you can easily initiate a video chat with others and enjoy a clear and smooth communication experience like face-to-face communication.

In addition, by reading this document, you will learn how to quickly run the TUIRoomKit sample project and perform secondary development. It only takes 5 minutes to successfully run the Demo and quickly build your own innovative applications such as stranger chat.

Quick Deployment

Using the EdgeOne page, you can achieve zero-code audio and video conference system setup through rapid template deployment.

Deploy with EdgeOne Pages

You can click the "View Demo" button on the left to experience the online demonstration.

Please note that the deployment template is based on secondary development of the original repository code, mainly for experiencing quick deployment features and online Demo. If you need to develop more extensive features, we recommend using the original repository code for in-depth development. Original development repository address: https://github.com/Tencent-RTC/TUIRoomKit/tree/main/Web/example/vite-vue3-ts

The following tutorial will provide detailed guidance on how to quickly run and experience the Demo.

Step 1. Create a TRTC application

  1. Enter the Application Management interface of the Tencent Cloud Live Audio/Video Console, select Create Application, enter the application name,click Create Application.

  2. Find your application in the application list and Click Application Info.

  3. Follow the steps below to get the application’s SDKAppID and key.

! This component uses two basic PaaS services of Tencent Cloud: TRTC and IM. When you activate TRTC, IM will be activated automatically. For information about the billing of IM, see Pricing.

Step 2: Download the source code and configure the project

  1. Clone or download the source code in our repository (You can start the repository to save it).

  2. Find and open Web/example/vite-vue3-ts/src/config/basic-info-config.js.

  3. Configure parameters in basic-info-config.js:

    - SDKAPPID: 0 by default. Set it to the `SDKAppID` obtained in step 1. - SDKSECRETKEY: '' by default. Set it to the key obtained in step 1.

Step 3: Run the example

  1. Make sure the node environment is v18
node -v
  1. Install dependencies

    cd TUIRoomKit/Web/example/vite-vue3-ts
    
    npm install
    
  2. Run the sample project in the development environment

    npm run dev
    

Step 4. Try out the demo

Open http://localhost:3000/#/home in a browser to try out TUIRoomKit.

Anchor (userId: anchor)

    1. On the home page, click New Room.
    1. Enter a room.
12

Participant (userId: audience)

    1. On the home page, enter the ID of the room created by the anchor and click Join Room.
    1. Enter the room.
12

Step 5: Production Environment Deployment

    1. Generate deployment files
    npm run build
    
    1. Deploy the dist file to the server

! Production environments require the use of https domains