Skip to content

Releases: kaltura/kaltura-player-ios

v4.10.1

08 Oct 12:03
Compare
Choose a tag to compare

New in this version:

update playkit dependency

Cocoapods install

pod 'KalturaPlayer', '~> 4.10.1'

v4.10.0

26 May 09:57
Compare
Choose a tag to compare

New in this version:

update support min OS version to OS 15

Cocoapods install

pod 'KalturaPlayer', '~> 4.10.0'

v4.9.0

06 Nov 13:49
Compare
Choose a tag to compare

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

13 Jan 18:02
Compare
Choose a tag to compare

New in this version:

  • redirectFromEntryId added to OVPMediaOptions.swift and OVPPlaylistOptions.swift by default is True (#78)

Cocoapods install

pod 'KalturaPlayer', '~> 4.8.1'

v4.8.0

17 Nov 21:22
Compare
Choose a tag to compare

New in this version:

  • Exposed new methods in OfflineManager:
    1. setReferrer(_ referrer: String)
    2. setManifestRequestAdapter(requestAdapter: DTGRequestParamsAdapter)
    3. setChunksRequestAdapter(requestAdapter: DTGRequestParamsAdapter)
  • Dependencies updated:
    1. PlayKit 3.27
    2. PlayKitProviders 1.18
    3. DownloadToGo 3.18

Cocoapods install

pod 'KalturaPlayer', '~> 4.8.0'

v4.7.1

31 Aug 11:54
Compare
Choose a tag to compare

New in this version:

Cocoapods install

pod 'KalturaPlayer', '~> 4.7.1'

v4.7.0

06 Jul 13:06
Compare
Choose a tag to compare

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

15 Feb 03:13
Compare
Choose a tag to compare

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

05 Jan 13:08
Compare
Choose a tag to compare

Changes from v4.4.1

  • Playlist support (#34)

Cocoapods install

pod 'KalturaPlayer', '~> 4.5

The samples and user guide can be found in the samples repo.

v4.4.1

23 Nov 18:00
Compare
Choose a tag to compare

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 use func 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.