Skip to content

Latest commit

 

History

History

iOS

Call UIKit for iOS Quickstart

English | 简体中文

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 Calls for iOS example.

Requirements

  • Xcode 13.0 or above
  • Operating system: iOS 13.0 or later

Getting started

If you would like to try the sample app specifically fit to your usage, you can do so by following the steps below.

Create an application.

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

Build and run the example

1. Clone this repository

$ git clone git@github.com:tencentyun/TUICallKit.git

2. Install dependencies

$ cd TUICallKit/iOS/Example
$ pod install

3. Specify the SDKAppID and SDKSecretKey

In GenerateTestUserSig.swift, you need to configure the application's SDKAppId and SDKSecretKey.

let SDKAPPID: Int = 0
let SECRETKEY = ""

4. Build and run the example application on Simulator or iOS 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.

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 iOS Video Call SDK API Example: including TUICallKit (with UIKit), TUICallEngine (without UIKit), and call events Callbacks, etc.