The Daily transport implementation enables real-time audio and video communication in your Pipecat iOS applications using Daily’s WebRTC infrastructure.

Installation

Add the Daily transport package to your project:

.package(url: "https://github.com/pipecat-ai/pipecat-ios-daily.git", from: "0.1.0")

// Add to your target dependencies
.target(name: "YourApp", dependencies: [
    .product(name: "PipecatIOSDaily", package: "pipecat-ios-daily")
])

Usage

Create a client using the Daily transport:

import PipecatIOSDaily

let client = DailyVoiceClient(
    baseUrl: "your-api-url",
    options: options
)

try await client.start()

Configuration

Your server endpoint should return Daily-specific configuration:

// Example server response
{
    "url": "https://your-domain.daily.co/room-name",
    "token": "your-daily-token"
}

API Reference

Daily Transport Reference

Complete API documentation for the Daily transport implementation