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:
Please see our VPaaS Documentation site.
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.
link |
Stars: 80 |
Last commit: Yesterday |
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
}
pod 'PlayKit', '~> 3.27.2'
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics