Pq 794d0bcc03 修改dev环境 | 1 vuosi sitten | |
---|---|---|
.. | ||
tuicallkit | 1 vuosi sitten | |
tuicallkit-kt | 1 vuosi sitten | |
.gitignore | 1 vuosi sitten | |
README.en.md | 1 vuosi sitten | |
README.md | 1 vuosi sitten |
中文 | English
This document describes how to quickly run the TUICalling demo project to make a high-quality audio/video call. For more information on the TUICalling component connection process, see Integrating TUICalling (Android).
TUICalling
├─ app // Main panel, which is the entry of the audio/video call scenario
├─ debug // Debugging code
└─ tuicalling // Real-time audio/video call business logic
TUIKitDemo
, and click Confirm.SDKAppID
and key as shown below:
! This feature uses two basic PaaS services of Tencent Cloud: TRTC and IM. When you activate TRTC, IM will be activated automatically. IM is a value-added service. See Pricing for its billing details.
[](id:ui.step2)
Android/debug/src/main/java/com/tencent/liteav/debug/GenerateTestUserSig.java
file.GenerateTestUserSig.java
:
SDKAppID
that you noted down in step 1.Open the source code directory TUICalling/Android
in Android Studio, wait for the Android Studio project to be synced, connect to a real device, and then click Run to try out the application.
Note: You need to prepare at least two devices to try out the call feature of TUICalling. Here, users A and B represent two different devices:
Device A (userId: 111)
Step 1: On the welcome page, enter the username (which must be unique), such as 111
.
Step 2: Go to the different scenario pages, such as video call, based on your scenario and requirements.
Step 3: Enter userId
of user B to be called, click Search, and then click Call.
| Step 1 | Step 2 | Step 3 | |---------|---------|---------| |||
Device B (userId: 222)
222
.