This article details how to integrate CDN Orchestrator into your mobile app using Apple's AVPlayer on iOS.
Not into tutorials?
AVPlayer is part of AVFoundation framework of the iOS family and provides the interface to control the playback and timing of a media asset using only the HLS format. Learn more about it here.
Cocoapods 1.9.0+ is recommended
To integrate Streamroot SDK into your Xcode project using CocoaPods, specify this in your
use_frameworks! target '<Your Target Name> ' pod 'LumenOrchestratorSDK', '~> 1.1.4' end
Add the dependencies to the Cartfile:
Integrate Lumen SDK
1. Set the DeliveryClientKey
In the Project Navigator, right click on the main target "Info.plist", and "Open as" → "Source Code".
Add the following lines with the values of the right parameters:
<key>DeliveryClient</key> <dict> <key>Key</key> <string>customerkey</string> </dict>