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 ポリシー
プライバシーポリシー
データ処理とセキュリティ契約
用語集

React Native

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-11-18 20:22:07
This document will guide you through quickly running the audio and video call Demo. By following this guide, you can run the Demo within 10 minutes and experience an audio and video call feature with a complete UI.


Prerequisites

Environment Setup

Node.js 16 and above.
Two mobile phones.

Activate the Service

Please refer to Activate the Service to obtain your SDKAppID and SDKSecretKey. These will be used in a later step (Configure and Run the Demo).


Downloading the Demo

1. Download the source code from GitHub, or run the following command in the command line:
git clone https://github.com/Tencent-RTC/TUICallKit.git
2. Enter the ./TUICallKit/ReactNative directory and depend on the TUICallKit component.
cd ./TUICallKit/ReactNative
yarn install

Running the Demo

We recommend that you run the Demo on two devices, Log in with two different user accounts on two devices, one as the caller and one as the callee, to complete an audio/video call experience.

Step 1: Configure and Run the Demo

1. Configure SDKAppID and SecretKey: Open the TUICallKit/ReactNative/src/debug/GenerateTestUserSig-es.js file, and fill in the SDKAppID and SDKSecretKey obtained during Activate the Service:

2. Compile and Run: Run the Demo using the following command.
# TUICallKit/ReactNative
yarn start

Step 2: Login

After the Demo starts, please enter an ID at the Login field to complete the login.
Login User: Charlie
Login User: Jane






Tip:
Avoid using simple UserIDs such as "1", "123", or "111". These IDs are commonly used during collaborative development and may already be in use by others, resulting in login failures. We recommend using a unique UserID during testing.

Step 3: Make a Call

1. On the caller's device, tap 1V1 Call on the interface, enter the callee's UserID in the pop-up window, and select the desired call type.
2. Click Start Call.
Charlie calls Jane
Jane receives the call
Both parties start talking after Jane clicks "Answer"



Tip:
To start a call, you need to confirm that the Callee User ID is a valid and logged-in ID.

FAQs

A signature error or login failure occurs when running the demo?

Please check if the SDKAppID and SDKSecretKey you filled in the TUIKit_Android/application/debug/src/main/java/com/tencent/qcloud/tuikit/debug/GenerateTestUserSig.java file are correct. Ensure they are the keys you obtained when Activate the Service.

Purchase prompt appears during call?

Error Prompt
Solution
You have not purchased an audio and video calling package. Please go to the IM console to activate a free trial or purchase the official version.
You have not purchased an audio and video calling package. Please go to the console to activate a free trial or purchase the official version.
The audio and video calling package you currently purchased does not support this feature. It is recommended that you upgrade your package type.
The audio and video calling package you currently purchased does not support this feature. It is recommended that you go to the console to upgrade your package type.

How to check for React Native environment issues?

If you need to know if there are any issues with your React Native environment, run npx react-native doctor to check if the React Native environment is properly installed.
npx react-native doctor

Contact Us

If you have any needs or feedback, you can contact: info_rtc@tencent.com.

ヘルプとサポート

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

フィードバック