Swiftpack.co - kaltura/playkit-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by kaltura.
kaltura/playkit-ios widevine/3.3.5
PlayKit: Kaltura Player SDK for iOS
⭐️ 80
🕓 2 weeks ago
iOS tvOS
.package(url: "https://github.com/kaltura/playkit-ios.git", from: "widevine/3.3.5")

Swift 5.0+ CI Status Version License Platform Codacy Badge

Kaltura Player SDK

Demo: Demo repo.

If you are a Kaltura customer, please contact your Kaltura Customer Success Manager to help facilitate use of this component.


The Kaltura Player SDK is fully native and introduces significant performance improvements. The SDK is intended to be integrated in any iOS application and includes the following features:

  • Online and Offline Playback
  • Live
  • Multi audio tracks
  • Multiple captions
  • Kaltura’s uDRM support (FairPlay, Widevine Classic)
  • VAST Support (IMA)
  • Kaltura analytics
  • Youbora
  • Chromecast and AirPlay support

Usage Guides

Please see our VPaaS Documentation site.

License and Copyright Information

All code in this project is released under the AGPLv3 license unless a different license for a particular library is specified in the applicable library path.

Copyright © Kaltura Inc. All rights reserved.
Authors and contributors: See GitHub contributors list.


Stars: 80
Last commit: Yesterday
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

23 hours ago

New in this version:

  • Now you can build your own implementation of FairPlayLicenseProvider and set it to the player. getContentId(request: URLRequest) added to FairPlayLicenseProvider protocol (#470)

How to use:

player.settings.fairPlayLicenseProvider = MyFPSLicenseProvider()

class MyFPSLicenseProvider: FairPlayLicenseProvider {

    func getContentId(request: URLRequest) -> String? {
        // Use request.url value to obtain content ID
        return "CONTENT ID"
    func getLicense(spc: Data,
                    contentId: String,
                    requestParams: PlayKit.PKRequestParams,
                    callback: @escaping (Data?, TimeInterval, Error?) -> Void) {
      // Implementation of FP license request to license server

      callback(license, // FP license as Data. FairPlay Streaming Key Response Data
              86400, // License expiration Time Interval
              nil) // Error

Cocoapods install

pod 'PlayKit', '~> 3.27.2'

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics