Welcome to LiveKit Swift SDK
Use this SDK to add realtime video, audio and data features to your Swift app. By connecting to LiveKit Cloud or a self-hosted server, you can quickly build applications such as multi-modal AI, live streaming, or video calls with just a few lines of code.Quick Start
Get a working video call running in minutes with our step-by-step guide
Installation
Install the SDK via Swift Package Manager, CocoaPods, or Xcode
API Reference
Comprehensive API documentation for all SDK features
Example Apps
Full-featured iOS/macOS example app with source code
Key Features
Real-time Audio & Video
High-quality audio and video streaming with WebRTC
Screen Sharing
Share screens on iOS and macOS with ReplayKit integration
Data Channels
Send real-time data between participants
End-to-End Encryption
Built-in E2EE support for secure communications
Multi-platform
iOS 13+, macOS 10.15+, visionOS, tvOS 17+
SwiftUI & UIKit
Native UI components for both SwiftUI and UIKit
Platform Support
The LiveKit Swift SDK supports:- iOS 13.0 and later
- macOS 10.15 and later
- Mac Catalyst 14.0 and later
- visionOS (via Swift Package Manager)
- tvOS 17.0 and later (via Swift Package Manager)
Swift Concurrency
The SDK is built with Swift 6 concurrency and full strict concurrency support. It uses modernasync/await patterns throughout the API, making it easy to integrate into your async Swift code.
What’s New in Version 2
Version 2 of the Swift SDK contains breaking changes from Version 1. Read the migration guide for a detailed overview of what has changed.
- Full Swift 6 concurrency support
- Modern async/await API
- Improved type safety
- Better memory management
- Enhanced performance
Getting Started
Ready to build your first LiveKit app? Start with our Quick Start guide to create a working video call in minutes.Install the SDK
Add LiveKit to your project via Swift Package Manager
Get API credentials
Sign up for LiveKit Cloud or self-host a server
Build your first app
Follow the Quick Start to connect and publish your camera
Community & Support
- Join us on Slack for help and discussions
- Browse example apps for code samples
- Report issues on GitHub
- Read the full LiveKit documentation
Resources
Swift Example App
Full source code of iOS/macOS SwiftUI example
Minimal Examples
Collection of minimal code examples
SwiftUI Components
Pre-built SwiftUI components for common use cases
LiveKit Cloud
Hosted LiveKit service with global edge network