tencent cloud

Tencent Real-Time Communication

お知らせ・リリースノート
製品アップデート情報
Tencent Cloudオーディオビデオ端末SDKの再生アップグレードおよび承認チェック追加に関するお知らせ
TRTCアプリケーションのサブスクリプションパッケージサービスのリリースに関する説明について
製品の説明
製品概要
基礎概念
製品の機能
製品の強み
ユースケース
性能データ
購入ガイド
Billing Overview
無料時間の説明
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
課金に関するよくあるご質問
Refund Instructions
初心者ガイド
Demo体験
Call
コンポーネントの説明(TUICallKit)
Activate the Service
Run Demo
クイック導入
オフライン通知
Conversational Chat
クラウドレコーディング(TUICallKit)
AI Noise Reduction
インターフェースのカスタマイズ
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
公開ログ
よくある質問
ライブ配信
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
Demo のクイックスタート
No UI Integration
UI Customization
Live Broadcast Monitoring
Video Live Streaming
Voice Chat Room
Advanced Features
Client APIs
Server APIs
Error Codes
Release Notes
FAQs
RTC Engine
Activate Service
SDKのダウンロード
APIコードサンプル
Usage Guidelines
クライアント側 API
高度な機能
RTC RESTFUL API
History
Introduction
API Category
Room Management APIs
Stream mixing and relay APIs
On-cloud recording APIs
Data Monitoring APIs
Pull stream Relay Related interface
Web Record APIs
AI Service APIs
Cloud Slicing APIs
Cloud Moderation APIs
Making API Requests
Call Quality Monitoring APIs
Usage Statistics APIs
Data Types
Appendix
Error Codes
コンソールガイド
アプリケーション管理
使用統計
監視ダッシュボード
開発支援
Solution
Real-Time Chorus
よくあるご質問
課金関連問題
機能関連
UserSig関連
ファイアウォールの制限の対応関連
インストールパッケージの圧縮に関するご質問
AndriodおよびiOS関連
Web端末関連
Flutter関連
Electron関連
TRTCCalling Web関連
オーディオビデオ品質関連
その他のご質問
旧バージョンのドキュメント
TUIRoom(Web)の統合
TUIRoom (Android)の統合
TUIRoom (iOS)の統合
TUIRoom (Flutter)の統合
TUIRoom (Electron)の統合
TUIRoom APIのクエリー
クラウドレコーディングと再生の実現(旧)
Protocols and Policies
セキュリティコンプライアンス認証
セキュリティホワイトペーパー
情報セキュリティの説明
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC ポリシー
プライバシーポリシー
データ処理とセキュリティ契約
用語集

Web

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-11-18 15:26:24
This document guides you through the whole process with the TUILiveKit Demo. By following these steps, you can set up and run the Demo in under 10 minutes and experience a fully featured online live streaming application with a complete UI.
You can also customize the page style, layout, and features to fit your requirements by following the customization instructions in each section.


Quick Experience

You can directly experience all Live features using the following methods.


Prerequisites

Enable the Service

Refer to Enable the Service to obtain a TUILiveKit trial license. Then, retrieve the following information from the Console for application management:
SDKAppID: Application identifier (required). Tencent Cloud uses SDKAppId for billing and details.
SDKSecretKey: Application secret key, used to initialize configuration file credentials.

Environment Preparation

Node.js: ≥ 18.19.1 (official LTS version recommended)
Vue: ≥ 3.4.21
Modern Browser: A browser that supports WebRTC APIs
Devices: Camera, microphone, and speakers

Instructions

Get 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

Setup

Open the TUILiveKit/Web/web-vite-vue3/src/config/basic-info-config.js in the Demo and enter the SDKAppID and SDKSecretKey you obtained when enabling the service:


Build and Run the Demo

npm run dev

Experience the Basic Features

Host Streaming

To start streaming as a host, navigate to the streaming page by setting the URL to http://localhost:5173/#/live-pusher. This page supports both landscape and portrait streaming modes.
Use the material addition area on the left to add media sources, and click the Connect with Audience button to accept or reject audience connection requests.


Audience Viewing

When you run the project for the first time, enter a UserId to register your identity. On subsequent runs, the live streaming list page displays directly, as shown below.

Click a live cover to enter a live room. In the live room, you can watch the stream, follow the host, send bullet comments, view the audience list, and more.

Note:
Do not use simple UserIDs such as "1", "123", or "111".
TRTC does not support multi-end login for the same UserID, and these simple UserIDs are likely to be used by others during collaborative development, which can cause login failures. Use distinctive UserIDs during debugging.
Multiple audience members can simultaneously send bullet comments, follow the host, request to connect, and more, to simulate real multi-user interaction scenarios.

Customization Guide

You can modify the provided UI source code to customize the TUILiveKit Demo interface as needed. Run the following commands in the TUILiveKit/Web/web-vite-vue3 directory:
macOS
Windows
mkdir -p ./src/TUILiveKit && rsync -av --exclude={'node_modules','package.json','excluded-list.txt'} ./node_modules/@tencentcloud/livekit-web-vue3/src/* ./src/TUILiveKit
xcopy .\\node_modules\\@tencentcloud\\livekit-web-vue3\\src\\* .\\src\\TUILiveKit /i /e /exclude:.\\node_modules\\@tencentcloud\\livekit-web-vue3\\excluded-list.txt
Note:
After running the export script:
1. The livekit-web-vue3 source code will be generated in the specified src directory.
2. You must then manually update the Web/web-vite-vue3 project. Change all component references for livekit-web-vue3 from the npm package path to the relative path of the local source code.
3. To reference the tuikit-atomicx-vue3 source code, please visit its GitHub repository .
If you want to integrate specific pages into your existing project or customize the UI for individual pages, refer to the following documentation links for detailed guidance:
Page
Documentation Link
Host Streaming
Audience Viewing
Live Streaming List

FAQs

After entering the room, you may encounter error code "-3301" with the message "Services are not available in your region."

If you receive this error code, contact us for support.

Contact Us

If you have any questions or suggestions during integration or usage, join our Telegram technical group or contact us for support.


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック