Starter Deal! First 3 month from only $9.9 /month!
Starter Deal! First 3 month from only $9.9 /month!
Grab It Now 
Tencent RTC Blog
Tencent RTC Blog
Tutorial

How to Build A Video Calling App on iOS

Tencent RTC - Dev Team

how to build a video calling app on iOS.png

With the booming development of smartphones, the user base on the mobile platform has grown exponentially, leading to an unlimited demand for mobile applications. The Android platform holds a dominant market share globally. However, iOS remains an extremely attractive platform, especially for developers targeting high-end users and high-income markets. iOS development continues to enjoy high popularity and commercial potential worldwide.

Tencent RTC Call (TUICallKit) provides video & voice chat SDK and iOS development package for developers. Our product supports both Swift and Objective-C development. It is an audio and video calling component with UI supported by Tencent Cloud as the underlying technology. We also offer a 7-day free trial opportunity.

This tutorial blog will guide you step by step on how to integrate the TUICallKit component into your iOS project and build an audio and video calling application on the iOS platform.

Video Tutorial

Introduction

In this tutorial, we will use Swift as an example for development. Swift is used for developing applications on various platforms within the Apple ecosystem, including iOS, Mac, watchOS, and tvOS. It supports within the Apple ecosystem, which can seamlessly integrate with Objective-C, allowing both languages to be used together in the same project.

How to Build A Video Calling App on iOS?

Step 1: Create a Call Application

Before integrating the TUICallKit component, we first need to access the TRTC Console. In the console, create your application and enable the audio and video calling feature.You can click here to directly access it. Alternatively, you can first refer to the Quick Integration Documentation of Tencent RTC Call and find the console entry in the iOS Documentation Guide.

Note: If you haven't registered an account yet, please click here to register first. Once you have successfully logged in, you can proceed to create your application in the console.

  • Name your application, for example, let's use "callkit" as an example.
  • Click on the <Create application> button and select "7-day Free Trial" option.

create the call application.pngfree trial.png

At this point, you can see on the screen that the application you just created is named "callkit" along with the SDKAppID and SDKSecretKey.

trial edition and the basic information of the call application.png

At the bottom of the console page, you can see that the free trial for Call has been activated.

Step 2: Integrating the TUICallKit Component

After creating the Call application, you need to complete the basic configuration. First, open your iOS project and navigate to the "Podfile" file. Paste " pod 'TUICallKit' " into it and execute the " pod install " command in the command line. Here is an example screenshot:

1. pod 'TUICallKit'
1. pod install

import TUICallKit component to the iOS project.png

Set Up
Call
Build App
iOS development