OptiView Player iOS Reference Apps - Streaming (THEOlive)
October 16, 2025 ยท View on GitHub
The purpose of this app is to demonstrate how to integrate OptiView Player (formerly THEOplayer) into an iOS app with SPM and playback a THEOlive stream.
For a quick start with this sample, please proceed with the Quick Start section. You can also take a look at our Getting Started on iOS guide for more information.
Quick Start
-
Navigate to your Xcode project and switch to the Package Dependencies tab. Click on the + button to add a new SPM package and enter in the search bar the URL of the following repo: https://github.com/THEOplayer/theoplayer-sdk-apple.
-
Add the
THEOplayerSDKandTHEOplayerTHEOliveIntegrationto your project. -
In the player configuration, replace the placeholder
your_license_herewith your license for iOS SDK.let playerConfigurationBuilder = THEOplayerConfigurationBuilder() playerConfigurationBuilder.license = "your_license_string" self.theoplayer = THEOplayer(configuration: playerConfigurationBuilder.build())If you don't have a license yet, please visit THEOportal Getting Started page.
-
Open the project
.xcworkspace, select a Development Team for signing and build it.
License
This project is licensed under the BSD 3 Clause License - see the LICENSE file for details.