Releases: kaltura/playkit-ios-dtg
v3.5.0
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
3.4.0
v3.3.2
v3.3.1
Fix Realm model leakage from library to app and vice-versa by setting objectTypes and overriding shouldIncludeInDefaultSchema().
3.3.0
Version 3.2.1
This release does not contain any functional update. It just updates the dependencies versions to use ~>
.
3.2.0
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
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
Features
- Added support for downloading AES-128 encrypted HLS (#9)
Breaking Changes
ContentManager
was added a setup function that should be called onAppDelegate
inapplicationDidFinishLaunchingWithOptions
, this is must be used especially for older version users (this includes a db migration)
For more detailed info see documention