Skip to content

Releases: kaltura/playkit-ios-dtg

3.20.0

26 May 09:54
Compare
Choose a tag to compare

New in this version:

update support min OS version to OS 15

Cocoapods install

pod 'DownloadToGo', '~> 3.20.0'

3.18.0

16 Nov 20:04
Compare
Choose a tag to compare

New in this version:

  • RealmSwift updated to 10.32.0 (#86)
  • Other minor code fixes (#83, #82)

Cocoapods install

pod 'DownloadToGo', '~> 3.18.0'

3.17.0

23 Nov 15:29
Compare
Choose a tag to compare

Changes from 3.16.0

  • OfflineManager prepareAsset() exposed to Objective-C (#78, #81)

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 'DownloadToGo', '~> 3.17.0'

3.16.0

16 Nov 13:43
Compare
Choose a tag to compare

Changes from 3.15.0

  • Fix deprecated class in Realm (#77)

Cocoapods install

pod 'DownloadToGo', '~> 3.16.0'

3.15.0

28 Sep 13:21
Compare
Choose a tag to compare

Changes from 3.14.1

  • Updated RealmSwift to 10.15.1

Cocoapods install

pod 'DownloadToGo', '~> 3.15.0'

3.14.1

11 May 12:42
Compare
Choose a tag to compare

Changes from 3.14.0

  • Minor fixes for building issues after cleaning DerivedData folder.

Cocoapods install

pod 'DownloadToGo', '~> 3.14.1'

3.14.0

15 Mar 11:25
Compare
Choose a tag to compare

Changes from 3.13.0

  • Updated RealmSwift to v10.7.2.

Cocoapods install

pod 'DownloadToGo', '~> 3.14.0'

3.13.0

15 Dec 16:50
Compare
Choose a tag to compare

Changes from 3.12.1

  • Updated iOS deployment target to 10.0.
  • Add better progress estimate (#62)
  • Support iOS 14 Xcode 12 (#66)
    • Updated RealmSwift to v10.2.0.
      Added "Push Notifications" as a capability to the sample, this is needed for Realm.
    • Updated M3U8Kit to v1.0.0.
    • Updated PlayKitUtils dependency to v0.5.

Cocoapods install

pod 'DownloadToGo', '~> 3.13.0'

v3.12.1

20 Apr 11:21
a36cdf8
Compare
Choose a tag to compare

Changes from 3.12.0

Cocoapods install

pod 'DownloadToGo', '~> 3.12.1'

v3.12.0

31 Mar 12:18
3ad8ac6
Compare
Choose a tag to compare

Changes from 3.11.1

Cocoapods install

pod 'DownloadToGo', '~> 3.12.0'