PRESTOPlay SDK v4
provides the necessary components for partners and companies to implement their own Streaming Player Application for iOS and tvOS.
castLabs has developed and maintains a base SDK distributed as an XCFramework which is capable of playing HLS and Fairplay with just a few lines of code. Additional modules provide support for Offline playback, Subtitles, Chromecast, Analytics and much more.
PRESTOPlay
PRESTOPlay
is our core framework. It’s required for all the operations and it’s used to initialize the other plugins
import PRESTOPlay
import CastlabsApple
var plugins: [CLPluginProtocol] = [CastlabsApple()]
PRESTOPlay.shared.register(plugins)
HLS and Fairplay
HLS and Fairplay are supported by the CastlabsApple
framework which leverages the native AVFoundation
framework.
Subtitles
Subtitles is our custom subtitles parser and renderer which supports WebVTT, TTML.
Analytics
We pre-integrate with different Analytics vendors. All integrations are validated by the vendor QA.
Thumbnails
Thumbnails parser and renderer which supports WebVTT and Grid Images.
Downloaders
Offline playback is supported by our different Downloaders for HLS.
Chromecast
Chromecast supports is enabled by pre-integration with Google Cast SDK.