The purpose of this app is to demonstrate how THEOplayer can be used to download protected and unprotected content for offline playback.
For quick start, please proceed with the Quick Start guide and make sure to run the app on a real device because offline playback is not supported in simulators.
The guides below will provide a detailed explanation about caching stream for offline playback using THEOplayer Cache API.
This app is an extension of THEO Basic Playback application. Please checkout the following guides should any help is needed to get started with Xcode and/or THEOplayer SDK.
- THEO Knowledge Base - Xcode Setup
- THEOplayer How To's - Setup Reference Application
- THEOplayer How To's - THEOplayer iOS SDK Integration
-
Obtain THEOplayer iOS SDK. If you don't have a SDK yet, please visit Get Started with THEOplayer.
-
Extract the downloaded
iOSSDK-[version]-[name].zip
. For example:unzip iOSSDK-[version]-[name].zip
-
Copy & paste the
THEOplayerSDK.framework
folder to the root of the reference app project. For example:cp -a THEOplayerSDK.framework/ Offline-Playback/
-
Open the reference app project
Offline_Playback.xcodeproj
with Xcode. -
Select
Product > Run
from Xcode menu bar or press⌘ + R
on the keyboard to build and run the application.- Should there be any problems with launching the application, please check the THEO Knowledge Base - Simulator And iOS Device guide for more information.
The DRM streams used in this app (if any) are provided by our Partner: EZ DRM and hold all the rights for the content. These streams are DRM protected and cannot be used for any other purposes.
This project is licensed under the BSD 3 Clause License - see the LICENSE file for details.