Coming Soon

Talker iOS SDK

Native iOS SDK for iPhone and iPad apps with Swift and Objective-C support.

Documentation In Progress

The iOS SDK documentation is currently being prepared. In the meantime, please contact parag@talker.network for early access and integration support.

Features

Push-to-Talk
Real-time voice transmission optimized for iOS with low latency.
Background Audio
Continue receiving broadcasts with proper background audio session handling.
Push Notifications
APNs integration for push notifications when the app is closed.
Swift & Objective-C
Written in Swift with full Objective-C compatibility.

Requirements

  • iOS 13.0+
  • Swift 5.0+ or Objective-C
  • Xcode 12.0+

Installation Preview

Package.swift
dependencies: [
    .package(url: "https://github.com/talker-network/talker-ios-sdk.git", from: "1.0.0")
]
Podfile
pod 'TalkerSDK', '~> 1.0'

Quick Start Preview

Swift
import TalkerSDK

// Initialize the client
let talker = TalkerClient(
    userAuthToken: userAuthToken,
    userId: userId,
    aUsername: aUsername,
    aPassword: aPassword
)

// Listen for broadcasts
talker.on(.broadcastStart) { event in
    print("\(event.senderName) started speaking")
}

// Push to talk with gesture recognizer
let longPress = UILongPressGestureRecognizer(target: self, action: #selector(handlePTT))
pttButton.addGestureRecognizer(longPress)

@objc func handlePTT(_ gesture: UILongPressGestureRecognizer) {
    switch gesture.state {
    case .began:
        talker.startTalking(channelId: channelId)
    case .ended, .cancelled:
        talker.stopTalking()
    default:
        break
    }
}

Audio Session Configuration

Swift
// The SDK handles audio session configuration automatically
// For custom configuration:
let audioSession = AVAudioSession.sharedInstance()
try audioSession.setCategory(.playAndRecord, mode: .voiceChat, options: [
    .defaultToSpeaker,
    .allowBluetooth,
    .allowBluetoothA2DP
])
try audioSession.setActive(true)

Get Early Access

Interested in the iOS SDK? Contact us for early access:

Contact for Early Access