Releases: kaltura/playkit-ios
Releases · kaltura/playkit-ios
v3.25.0
Changes from v3.24.0
- PKMediaEntry and PKMediaSource extended with NSCopying (#449)
- Added Vertical and horizontal captions positioning. (#453)
Example:// Bottom right corner kalturaPlayer.settings.textTrackStyling.setOrthogonalLinePositionPercentage(95) kalturaPlayer.settings.textTrackStyling.setTextPositionPercentage(95) // Top left corner kalturaPlayer.settings.textTrackStyling.setOrthogonalLinePositionPercentage(5) kalturaPlayer.settings.textTrackStyling.setTextPositionPercentage(5)
Cocoapods install
pod 'PlayKit', '~> 3.25.0
v3.24.0
v3.23.0
v3.22.0
Changes from v3.21.0
- Udrm calls now have extra data: player type, session and referrer information (#433)
AdEvent
now has new properties (#432):@objc public var skipTimeOffset: TimeInterval @objc public var creativeAdId: String? @objc public var dealId: String? @objc public var surveyUrl: String? @objc public var traffickingParams: String? @objc public var adIndexInPod: Int @objc public var podCount: Int @objc public var adPodTimeOffset: TimeInterval```
- Low-Latency HLS support (#431). Now you can specify
AVPlayerItem.automaticallyPreservesTimeOffsetFromLive
andAVPlayerItem.configuredTimeOffsetFromLive
viaPKLowLatencySettings
- Kava analytics report now sending for all non Kaltura partners Accounts in PlayKit (#434)
- Added integration with Youbora Smart Switch events (#429)
Cocoapods install
pod 'PlayKit', '~> 3.22.0
v3.21.0
Changes from v3.20.1
- Exposed interface and methods to enable customisation of HTTP request headers for playback request. (#426)
Applies for playlist/manifest URL and for .ts segments URLs
How to use :
- KalturaPlayer
let playbackAdaptor = CustomPlaybackRequestAdapter()
playbackAdaptor.httpHeaders = ["Authorization": "Bearer 12345689"]
kalturaOTTPlayer.settings.contentRequestAdapter = playbackAdaptor
// Load media
kalturaOTTPlayer.loadMedia(options: mediaOptions) {}
- PlayKit
let playbackAdaptor = CustomPlaybackRequestAdapter()
playbackAdaptor.httpHeaders = ["Authorization": "Bearer 12345689"]
self.player.settings.contentRequestAdapter = playbackAdaptor
// Prepare the player
self.player.prepare(mediaConfig)
- Returning error in case a source could not be selected. (#427)
- PlaybackRateChanged event added (#424)
PlayerEvent.playbackRate
Cocoapods install
pod 'PlayKit', '~> 3.21.0
v3.20.1
v3.20.0
v3.19.0
v3.18.0
Changes from v3.17.1
-
Support iOS 14 Xcode 12 (#409)
- Fixed deprecated code accordingly.
- In the Tracks, selectedMediaOption on the AVPlayerItem is deprecated from iOS 11, it is called on the item's currentMediaSelection property available from iOS 9.0.
- From iOS 11.2, 'respondByRequestingPersistableContentKeyRequest' changed to 'respondByRequestingPersistableContentKeyRequestAndReturnError'.
- Updated SwiftyJSON to v5.0.0 from 4.3.0
- Workaround for iOS 14 issue upon seeking to the duration when the seek is done with zero tolerance.
Bug reported to Apple (FB8602469). - Updated dependency to the latest KalturaNetKit (v1.4.0) and PlayKitUtils (0.5.0).
- Fixed deprecated code accordingly.
-
Fixed issue where the durationChanged event was not fired upon change media. (#408)
Cocoapods install
pod 'PlayKit', '~> 3.18.0