Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 3.25 KB

README.md

File metadata and controls

56 lines (38 loc) · 3.25 KB

English | 简体中文

Call UIKit for Android Quickstart

TUICallKit is a UIKit about audio&video calls launched by Tencent Cloud. By integrating this component, you can write a few lines of code to use the video calling function, TUICallKit support offline calling and multiple platforms such as Android, iOS, Web, Flutter, etc.

Before getting started

This section shows you the prerequisites you need for testing tuicallkit for Android sample app.

  • Android 5.0 (SDK API level 21) or later.
  • Gradle 4.2.1 or later.
  • Mobile phone on Android 5.0 or later.

Getting started

If you would like to run the sample app, you can do so by following the steps below.

Create application

  1. Login or Sign-up for an account on Tencent RTC Console.
  2. Create or select a calls-enabled application on the console.
  3. Note your application SDKAppID and SDKSecretKey for future reference.

Build and run the sample app

  1. Clone thie repository
    git clone https://github.com/tencentyun/TUICallKit.git
    
  2. Specify the SDKAppID and SDKSecretKey Input the SDKAppID and SDKSecretKey into file Android/debug/src/main/java/com/tencent/qcloud/tuikit/debug/GenerateTestUserSig.java
    public static final int SDKAPPID = SDKAppID;
    private static final String SECRETKEY = SDKSecretKey;
    
  3. Build and run the sample app on two Android devices.

Making your first call

  1. Log in to the sample app on the primary device with the user ID set as the caller.
  2. Log in to the sample app on the secondary device using the ID of the user set as the callee.
  3. On the primary device, specify the user ID of the callee and initiate a call.
  4. If all steps are followed correctly, an incoming call invitation will appear on the device of the callee.

Implementing Offline Push Notifications (Optional)

TUICallKit supports integrating with TIMPush plugin. For details, see: Android Offline Push Notification

Reference

  • If you want to learn more about the product features, you can click on the following link.

  • If you encounter difficulties, you can refer to FAQs, here are the most frequently encountered problems of developers, covering various platforms, I hope it can Help you solve problems quickly.

  • For complete API documentation, see Audio Video Call SDK API Example: including TUICallKit (with UIKit), TUICallEngine (without UIKit), and call events Callbacks, etc.