tencent cloud

Mobile Live Video Broadcasting

Release Notes and Announcements
TUILiveKit Release Notes
Live SDK Release Notes
User Guide
Product Introduction
Overview
Strengths
Performance Statistics
Concepts
Purchase Guide
TRTC Live Billing Overview
Billing of Video Live Component
Activating the Service (TUILiveKit)
Free Demo
Demo
Run Demo(TUILiveKit)
Integration Guide
Video Live Streaming
Preparation
Host Live Streaming
Audience Viewing
Live Stream List Live Stream List
Voice Chat Room
Preparation
Host Live Streaming
Audience Viewing
Live Stream List
Live Streaming Kit
Live Streaming Kit(Electron Desktop Application)
Live Streaming Kit(Web Desktop Browser)
Live Broadcast Monitoring
Monitoring Webpage (Web Desktop Browser React)
Monitoring Webpage (Web Desktop Browser Vue)
UI Customization
Live Stream Video Component
Video Source Editing Canvas
Audience List Component
Barrage Component
Media Source Configuration Panel
Link Management Panel
Live Gift Component
No UI Integration
Video Live Streaming
Voice Chat Room
Feature Guide
Follow Anchors (TUILiveKit)
Ultimate Image Quality (TUILiveKit)
Push Media Stream Into Room (TUILiveKit)
Gift System (TUILiveKit)
Client APIs
Android
iOS
Web
Server APIs (TUILiveKit)
Account System
REST API
Third-Party Webhooks
Error Codes (TUILiveKit)
FAQs
Platform Compilation
User Authentication
Live SDK
Product Introduction
Purchase Guide
Free Demo
Free Trial License
SDK Download
Licenses
Advanced Features
Client API
FAQs
Integration (No UI)
API Documentation
OSS information
OSS Attribution Notice

Run Sample Demo

포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-14 20:03:15
This article provides a detailed guide on how to quickly run the TUILiveKit Demo. Following the instructions, you can run the demo in less than 10 minutes and experience a live online demo with a complete UI interface. You can also customize the page style, layout, and functionality according to your needs by following the free customization instructions on each page.


Step 1: Environment Preparation

Before running the demo, you need to refer tothe preparation guide to complete the required environment configuration and activate the corresponding services.

Step 2: Download the Demo

1. Download the TUILiveKit Demo from GitHub, or run the following command directly from the command line:
git clone https://github.com/Tencent-RTC/TUILiveKit.git
2. Install dependencies
cd TUILiveKit/Web/web-vite-vue3

npm install

Step 3: Configure Demo

You need to refer to the preparation in step 1, open the TUILiveKit/Web/web-vite-vue3/src/config/basic-info-config.js file in the Demo, and enter the SDKAppID and SDKSecretKey obtained when activating the service in the preparation:


Step 4: Run the Demo

npm run dev

Step 5: Start the Live Stream

If you need to stream as a live streamer, you'll need to switch from the demo to the live streaming page. Simply change the URL in the navigation bar to http://localhost:5173/#/live-pusher to access the live streaming page. The live streaming page supports both landscape and portrait streaming. Additionally, you can add media sources to the page in the Add Sources area on the left. You can also click the Connect Viewer button below to accept or reject a viewer's request to connect.


Customization Guidelines

If you need to selectively integrate a page into an existing project, or need to customize the UI of a page, you can refer to the following links to the respective page documentation and follow the guidelines to customize the UI.
Page
Document Link
Host Streaming
Audience Viewing
Live Streaming List


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백