Skip to content

Releases: kaltura/playkit-ios-dtg

v3.5.0

17 Sep 08:57
a094d81
Compare
Choose a tag to compare

Changes from v3.4.1

New features

  • Add order field to tasks, so that they are downloaded in the correct order.
  • Let the app set estimated audio bitrate instead of assuming 160kbps.
  • Add duration to DownloadItem.

Fixes

  • FEM-2158: Fix excessive amount of TrackInfoRealm objects (#27). This includes a major refactor in how we use Realm.

Breaking change

Previously DTG has assumed that the bitrate for alternate audio tracks is 160kbps, and there was no option to change it. Now there is a way to set it (cm.setDefaultAudioBitrateEstimation(bitrate: 128000)), and the default is 64000.
If your app relies on the old value, you should call cm.setDefaultAudioBitrateEstimation(bitrate: 160*1000) on startup.

GCDWebServer

DTG uses that library internally to serve the downloaded HLS content to the player. GCDWebServer's latest version has a lot of warnings. We fixed the warnings in a fork and opened a pull request, but they were not merged yet.
If the warnings offend you, manually set the Podfile to take our fork instead. It has no other changes.

v3.4.1

15 Jul 13:47
Compare
Choose a tag to compare

Fixed Bugs

DTG Example:

  • Swift 4 changes
  • UI Fixes and improvements

Cocoapods

https://cocoapods.org/pods/DownloadToGo

3.4.0

10 Jun 10:21
Compare
Choose a tag to compare
  • Allow downloading FairPlay-protected content. The sample app shows how to work with the relevant PlayKit API
  • Fixed a bug where download states are not sync'ed/reported correctly

v3.3.2

21 May 15:26
Compare
Choose a tag to compare
  • Update Realm to v3.5.0 - fix a severe memory leak
  • Update M3U8Kit to v0.2.3 - no need for our fork

v3.3.1

08 Apr 10:27
Compare
Choose a tag to compare

Fix Realm model leakage from library to app and vice-versa by setting objectTypes and overriding shouldIncludeInDefaultSchema().

3.3.0

22 Mar 11:40
0076643
Compare
Choose a tag to compare

Changes from 3.2.1

  • Library updates
  • New: API to retrieve the list of downloaded audio and subtitle languages (#14). See the selectedAudioTracks and selectedTextTracks properties in DTGItem.

Note: see the readme about M3U8Kit

Version 3.2.1

05 Mar 19:49
12feb93
Compare
Choose a tag to compare

This release does not contain any functional update. It just updates the dependencies versions to use ~>.

3.2.0

20 Nov 16:53
0885fa3
Compare
Choose a tag to compare

Features


FEM-1703 (#12)

  • initial handling of no space left on device crash.

  • Added handling for insufficient disk space on device before starting a download and in a middle of a download or when resuming a download.

  • fixed issue with resume disk space check logic.

    • fixed small issue in sample app
  • fixed small issue with item state

    • Added the ability to fill device space to test out of disk space using a dummy file with empty data.
  • Added the ability to update dummy file size (reduce some amount from it).

  • Added the ability to remove the dummy file completely.


On Podfile make sure to add post_install for every target with swift 4:

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
        target.build_configurations.each do |config| 
            config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
 	    if target.name == 'Your App Target' || target.name == 'XCGLogger'
	           config.build_settings['SWIFT_VERSION'] = '4.0'
	    end
        end 
    end 
end

Note: For more detailed info see example podfile


Cocoapods - We released an official pod!

https://cocoapods.org/pods/DownloadToGo


3.1.1

30 Oct 14:55
Compare
Choose a tag to compare

Features

  • Added support for Swift 4 (#10)

On Podfile make sure to add post_install for every target with swift 4:

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
        target.build_configurations.each do |config| 
            config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
 	    if target.name == 'Your App Target' || target.name == 'XCGLogger'
	           config.build_settings['SWIFT_VERSION'] = '4.0'
	    end
        end 
    end 
end

Note: For more detailed info see example podfile


Cocoapods - We released an official pod!

https://cocoapods.org/pods/DownloadToGo


3.1.0

23 Oct 14:25
Compare
Choose a tag to compare

Features

  • Added support for downloading AES-128 encrypted HLS (#9)

Breaking Changes

  • ContentManager was added a setup function that should be called on AppDelegate in applicationDidFinishLaunchingWithOptions, this is must be used especially for older version users (this includes a db migration)
    For more detailed info see documention