Releases: kaltura/kaltura-player-ios
Releases · kaltura/kaltura-player-ios
v4.10.1
v4.10.0
New in this version:
update support min OS version to OS 15
Cocoapods install
pod 'KalturaPlayer', '~> 4.10.0'
v4.9.0
New in this version:
Add an option to set preferredMaximumResolution (in player settings)
How to use:
player.settings.network.preferredMaximumResolution = CGSize(width: 1280, height: 534)
Dependencies updated:
- PlayKit 3.28
Cocoapods install
pod 'KalturaPlayer', '~> 4.9.0'
v4.8.1
v4.8.0
New in this version:
- Exposed new methods in
OfflineManager
:setReferrer(_ referrer: String)
setManifestRequestAdapter(requestAdapter: DTGRequestParamsAdapter)
setChunksRequestAdapter(requestAdapter: DTGRequestParamsAdapter)
- Dependencies updated:
- PlayKit 3.27
- PlayKitProviders 1.18
- DownloadToGo 3.18
Cocoapods install
pod 'KalturaPlayer', '~> 4.8.0'
v4.7.1
v4.7.0
Changes from v4.6.0
- KS added to external captions (#57)
- Seek to live edge API added. seekToLiveEdge() (#66)
- You can set Kava and Phoenix Analytics configs explicitly to
PlayerData()
(#60) - Added parameter to
PlaylistController
for skipping/or not countdown when PostRoll available (#63)
playlistController.skipCountdownForPostRoll = true
- Add Youtube referenceId support (#58)
mediaProvider.loadMedia { (mediaEntry, error) in
if let externalSourceType = mediaEntry?.metadata?["externalSourceType"],
externalSourceType == "YouTube" {
print("YouTube is Playing: \(mediaEntry?.metadata?["referenceId"])")
} else {
if let me = mediaEntry, error == nil {
// create media config
let mediaConfig = MediaConfig(mediaEntry: me, startTime: 0.0)
// prepare the player
self.player!.prepare(mediaConfig)
}
}
}
- Playing Audio from a Video Asset in the Background (#64)
- AVPlayer preventsDisplaySleepDuringVideo settings parameter added
kalturaPlayer.settings.preventsDisplaySleepDuringVideoPlayback = false
Cocoapods install
pod 'KalturaPlayer', '~> 4.7
The samples and user guide can be found in the samples repo.
v4.6.0
Changes from v4.5.0
- Using a copy of the PKMediaEntry for the Interceptor (#41) - Dependent on PlayKit v3.25
- Updated breaking change, PhoenixMediaProvider networkProtocol changed to be required (#45) - Dependent on PlayKitProviders v1.16
- PhoenixAnalyticsPlugin fixes for default plugin and plugin override. (#46)
- Updated addition, ExperimentalLiveMediaHit parameter added to PhoenixAnalyticsPluginConfig (#47) - Dependent on PlayKitProviders v1.16
OTTMediaOptions, new property:@objc public var isExperimentalLiveMediaHit: Bool = false
- Postroll playback fixes for playlist (#48)
- Bookmarks are not sent when the ks is set on the media options alone. (#49)
Added KS update to the player options in KalturaPlayer.
Update to Phoenix Analytics was not performed when the ks was set in the media, therefore bookmarks where not being sent.
Fix to update plugin configs and not to override existing ones. - Setting the url fix of the serverURL in the setter so that it will be fixed for all requests being sent. (#50)
- Start time fixes for Playlist OTT/OVP medias. (#51)
- Fixed skipAd button conflict with other UI layers. (#52)
Updated controllers view constraints depending on the ad if it's currently playing or not. - Calling stop on the player if it is destroyed. (#53)
Cocoapods install
pod 'KalturaPlayer', '~> 4.6
The samples and user guide can be found in the samples repo.
v4.5.0
v4.4.1
Changes from v4.4.0
OfflineManager
prepareAssetWithMediaOptions(options: callback: )
exposed to Objective-C (#39)
Example how to use it in Objective-C:
OTTMediaOptions *options = [[OTTMediaOptions alloc] init];
DTGSelectionOptions *selection = [[DTGSelectionOptions alloc] init];
[selection setMinVideoBitrate:1000000 forCodec:TrackCodecAvc1];
[selection setMinVideoBitrate:2000000 forCodec:TrackCodecMp4a];
[selection setMinVideoWidth:1280];
[selection setMinVideoHeight:720];
[selection setAllTextLanguages:YES];
[selection setAllAudioLanguages:YES];
NSArray *codecs = [NSArray arrayWithObjects:
[NSNumber numberWithInteger:TrackCodecAvc1],
[NSNumber numberWithInteger:TrackCodecHevc], nil];
[selection setPreferredVideoCodecs:codecs];
[selection setPreferredAudioCodecs:[NSArray arrayWithObjects:[NSNumber numberWithInteger:TrackCodecAc3], nil]];
// OTT Player
[[OfflineManager shared] prepareAssetWithMediaOptions:options
options:selection
callback:^(NSError *error, AssetInfo *info, PKMediaEntry *entry) {
}];
// Basic Player
PKMediaSource *source = [[PKMediaSource alloc] init:@"ID"
contentUrl:[NSURL URLWithString:@"http://your-playback.com/url.m3u8"]
mimeType:nil
drmData:nil
mediaFormat:MediaFormatHls];
PKMediaEntry *entry = [[PKMediaEntry alloc] init:@"ID"
sources:[NSArray arrayWithObjects:source, nil]
duration:-1];
[[OfflineManager shared] prepareAssetWithMediaEntry:entry
options:selection
callback:^(NSError *error, AssetInfo *info) {
}];
DTGSelectionOptions
func setMinVideoBitrate(_ codec: TrackCodec, _ bitrate: Int) -> Self
deprecated now usefunc setMinVideoBitrate(_ bitrate: Int, forCodec codec: TrackCodec) -> Self
Cocoapods install
pod 'KalturaPlayer', '~> 4.4
The samples and user guide can be found in the samples repo.