iOS
The Native SDK for creating iOS and tvOS applications. You may use it to connect, capture, publish, or subscribe to streams using the Dolby.io Streaming Platform.

GitHub
📖 Documentation
📱 Sample app
🚀 Getting Started
The package name of the Native SDK for iOS is millicast-native-sdk-{version}-XCFramework.zip.
📘 Note
If you want to use Streaming APIs on Android and iOS, you can also use the Flutter SDK or the React Native plugin.
Requirements​
- Dolby.io account
- A working video camera and microphone
- iOS 14.5 or later
- Client SDK 1.8.0 or later
Adding the SDK to a project​
To add the SDK to your project, you can either use Swift Package Manager or CocoaPods.
Swift Package Manager​
-
Go to your project settings in Xcode.
-
Go to the Package Dependencies tab and click on the + icon to add a new dependency.
-
In the line edit, enter the following package URL: https://github.com/millicast/millicast-sdk-swift-package. You should see the package appear.
-
Choose the version you want to use and click on add package.
CocoaPods​
-
Install CocoaPods if you have not already.
-
Open a terminal in the root of your XCode project.
-
Type
pod init
to create aPodfile
. -
Open the created file in a text editor and add the Millicast SDK as a dependency.
target 'MyProject' do
platform :ios, '14.5'
# Comment the next line if you do not want to use dynamic frameworks
use_frameworks!
pod 'MillicastSDK' '~> 2.0'
# Pods for MyProject iOS
end
- Type
pod install
in the terminal to install the SDK.
This step downloads and installs all needed dependencies and creates a .xcworkspace
file. From now on, use this file instead of .xcodeproj
.
- You can update the SDK version in the podfile by running
pod update
in the terminal.