iOS video call SDK for Swift and SwiftUI
Add 1:1 video and voice calls to your iPhone app with our Swift package and just your App Key: no backend needed. A SwiftUI call view, async/await API and optional CallKit. iOS 15 and up. The SDK is free; calls cost ₹0.20 per participant-minute for video and ₹0.05 for audio.
Quick mode: add your App Key, make a call in 5 minutes
No backend needed: add your App Key in the app and start calling. A server is optional, for production hardening.
- Get your App Key. In the console, open Projects → Quick mode and add your app's bundle ID. Your App Key is shown there.
- Install the package from Swift Package Manager (the console download is only a fallback).Package dependency
// Xcode → File → Add Package Dependencies… → https://github.com/titli-video-sdk/titli-video-sdk-ios (from 0.2.0) // CocoaPods: pod 'TitliVideoSDK', :git => 'https://github.com/titli-video-sdk/titli-video-sdk-ios.git', :tag => '0.2.0' import TitliVideoSDK - Init with the App Key, then start or join a call. That is all: no server, no tokens.App.swift
import TitliVideoSDK // 1. Once, at launch: your App Key and your own user id TitliVideo.initialize(appKey: "tak_…", userId: "user-42", userName: "Asha") // 2. Start a video call let call = try await TitliVideo.startCall(type: .video) // share call.callId with the other person // 3. On the other phone try await TitliVideo.joinCall(callId)
The App Key is publishable, not a secret: it can only reach the app-facing routes, it is bound to your package name, bundle ID or website, and spend and usage caps fence it. The binding is a deterrent, not a lock (a determined attacker can copy an app's identity), so the caps are what limit the damage. For strict control, add server tokens (production hardening below). Quick mode: bindings, caps and error codes · Read the Client API (Quick mode).
What you get
Prebuilt call screen
1:1 video with a draggable self view, an audio layout, mic, camera, flip, speaker and end controls, a timer, a reconnecting state and an end screen. One SwiftUI view, with your brand colour, light or dark.
Audio calls
Start an audio call and the SDK switches to audio-only by itself. Audio calls cannot publish a camera.
Quality that adapts
Auto, low, medium and high quality, always capped at your account’s resolution limit (720p by default).
Permissions handled
Microphone and camera prompts with a rationale and an Open Settings path when someone says no.
Clear end reasons
Hung up, ended by the other side or your server, removed, connection lost: each shows the right screen and reaches your code as an event.
Incoming calls
Optional CallKit ringing for incoming calls, parsed from your push payload.
Production hardening (optional): server tokens
You do not need a server to start: Quick mode works with the App Key alone. Add a server when you want strict control over every call (who joins which call, for how long, in which role): keep the project key on your server and mint a short-lived join token per person there. The app uses the same SDK and hands it a token instead of the App Key. Both ways can run side by side.
Below: the full install details and the prebuilt call view with a server token.
Install details
// Xcode: File > Add Package Dependencies > https://github.com/titli-video-sdk/titli-video-sdk-ios
.package(url: "https://github.com/titli-video-sdk/titli-video-sdk-ios", from: "0.2.0"),
.product(name: "TitliVideoSDK", package: "titli-video-sdk-ios"),
# CocoaPods
source 'https://cdn.cocoapods.org/'
source 'https://github.com/livekit/podspecs.git'
pod 'TitliVideoSDK', :git => 'https://github.com/titli-video-sdk/titli-video-sdk-ios.git', :tag => '0.2.0'The Video SDKs install from public registries: Flutter from pub.dev, web and React Native from npm, Android from JitPack and iOS with Swift Package Manager or CocoaPods from GitHub. If your build cannot reach them, the same packages are in the console under SDK downloads. The Chat SDKs for iOS, Android and React Native are in SDK downloads (request access); the web and Flutter chat packages come through a Support ticket.
Source and packages
Version 0.2.0. Links open in a new tab.
Info.plist
<key>NSMicrophoneUsageDescription</key>
<string>We use the microphone so the other person can hear you on calls.</string>
<key>NSCameraUsageDescription</key>
<string>We use the camera so the other person can see you on video calls.</string>
<key>UIBackgroundModes</key>
<array><string>audio</string></array>Present the call view (server token)
import SwiftUI
import TitliVideoSDK
struct ContentView: View {
@State private var join: TitliJoin? // { token, livekit_url } minted on your server (optional hardening)
var body: some View {
Button("Video call") { Task { join = try? await fetchToken(type: "video") } }
.fullScreenCover(isPresented: Binding(get: { join != nil }, set: { if !$0 { join = nil } })) {
if let j = join {
TitliCallView(url: j.livekit_url, token: j.token, title: "Asha") { _ in join = nil }
}
}
}
}Beta: version 0.2.0, tested on real calls against our servers. Requirements: iOS 15+, Xcode 15+. The SDK wraps the open-source LiveKit Swift SDK (Apache-2.0).
iOS calls at the same per-minute prices
The SDK is free. Calls are billed per second while at least two people are connected.
Billed in rupees (INR). Prices shown are what you pay. If GST applies to you, it is shown on your invoice.USD billing is for companies outside India, switched on after a short business check: contact us to pay (USDT/wire). Prices exclude taxes.
Audio
Video
FAQ
Is the iOS video call SDK free?
Yes. The SDK is free to use; calls cost ₹0.20 per participant-minute for video and ₹0.05 for audio, billed per second while two or more people are connected.
Which iOS versions are supported?
iOS 15 and later, built with Xcode 15 or later. The SDK supports SwiftUI and works from UIKit apps too.
How do I install it?
With Swift Package Manager from github.com/titli-video-sdk/titli-video-sdk-ios (version 0.2.0 or later), or with CocoaPods from the same tagged repository. The console (SDK downloads) has the same package as a fallback.
Does it support CallKit?
Yes, optionally. The SDK’s CallKit add-on reports incoming calls to CallKit from your push payload and joins the call when the user answers.
Is it production ready?
It is in beta (0.2.0). It has been tested on real calls against our servers; tell us what you hit and we fix it fast.
Do I need a server for the iOS SDK?
No. Add your bundle ID in Projects → Quick mode, init the SDK with your App Key and start a call. Server tokens are optional production hardening.

Free SDK. Pay only for the minutes you use.
Create a free account: it starts with ₹100 welcome credit, about 250 minutes of 1:1 video, so your first call needs no recharge. Questions? Message us on WhatsApp and a person replies.

