Skip to content

Releases: kaltura/playkit-dtg-android

v2.6.16

06 Jan 11:27
Compare
Choose a tag to compare

Changes from v2.6.15

New Features

More Changes

Gradle

  • implementation 'com.kaltura.dtg:dtglib:2.6.16'

v2.6.15

15 Mar 09:27
Compare
Choose a tag to compare

Changes from v2.6.14

Internal Fix

Gradle

  • implementation 'com.kaltura.dtg:dtglib:2.6.15'

v2.6.14

01 Mar 00:04
Compare
Choose a tag to compare

Changes from v2.6.13

Updates

Gradle

  • implementation 'com.kaltura.dtg:dtglib:2.6.14'

v2.6.13

04 Jan 19:13
Compare
Choose a tag to compare

Changes from v2.6.12

Upgrades

  • FEC-11715 | Compile SDK version to 31 | Gradle to v7 | Kotlin Version to v1.5.20 (#109)

Gradle

implementation 'com.kaltura.dtg:dtglib:2.6.13'

v2.6.12

20 Sep 07:33
Compare
Choose a tag to compare

Changes from v2.6.11

New Features

  • FEC-11372 | HLS Widevine Offline Support (This feature is supported Playkit v4.17.0 onwards)

Bug Fixes

  • FEC-11543 | Support player pause on background [DTG-Demo app]
  • FEC-11534 | Skip firing event only when it is load meta data is cancelled intentionally

Gradle

implementation 'com.kaltura.dtg:dtglib:2.6.12'

v2.6.11

15 Aug 07:37
Compare
Choose a tag to compare

Changes from v2.6.9

New Features

Add ability to select video tracks to download by width/height used by KalturaPlayer OfflineManager (DASH)

OfflineManager Sample

Gradle

implementation 'com.kaltura.dtg:dtglib:2.6.11'

v2.6.10

17 Jun 14:22
Compare
Choose a tag to compare

Changes from v2.6.9

Internal updates

Gradle

implementation 'com.kaltura.dtg:dtglib:2.6.10'

v2.6.9

12 Apr 11:25
Compare
Choose a tag to compare

Changes from v2.6.8

change playkit libs repositories from jcenter() to mavenCentral()

Gradle

implementation 'com.kaltura.dtg:dtglib:2.6.9'

v2.6.8

11 Apr 16:26
Compare
Choose a tag to compare

Changes from v2.6.6

TBD

v2.6.6

30 Mar 16:52
Compare
Choose a tag to compare

Changes from v2.6.5

New Features

  • FEC-10135 | Added support for adding headers for manifest and chunks requests using adapters.

Example:

        Map<String,String> headers = new HashMap<>();
        headers.put("aaa", "bbb");
        headers.put("ccc","ddd");
        MediaRequestAdapter mediaAdapter = new MediaRequestAdapter();
        mediaAdapter.customHeaders1 = headers;
        contentManager.getSettings().downloadRequestAdapter = mediaAdapter;
        Map<String,String> chunkheaders = new HashMap<>();
        chunkheaders.put("zzz", "xxx");
        chunkheaders.put("www","vvv");
        ChunkRequestAdapter chunkAdapter = new ChunkRequestAdapter();
        chunkAdapter.customHeaders2 = chunkheaders;
        contentManager.getSettings().chunksUrlAdapter = chunkAdapter;
   static class MediaRequestAdapter implements DownloadRequestParams.Adapter {

        public static Map<String,String> customHeaders1;

        @Override
        public DownloadRequestParams adapt(DownloadRequestParams requestParams) {

            if (requestParams == null) {
                return null;
            }

            DownloadRequestParams downloadRequestParams = new DownloadRequestParams(requestParams.url, customHeaders1);
            return downloadRequestParams;
        }

        @Override
        public void updateParams(String playSessionId) {

        }
    }

    static class ChunkRequestAdapter implements DownloadRequestParams.Adapter {

        public static Map<String,String> customHeaders2;

        @Override
        public DownloadRequestParams adapt(DownloadRequestParams requestParams) {

            if (requestParams == null) {
                return null;
            }

            DownloadRequestParams downloadRequestParams = new DownloadRequestParams(requestParams.url, customHeaders2);
            return downloadRequestParams;
        }

        @Override
        public void updateParams(String playSessionId) {

        }
    }
  • FEC-10618 | Expose API to cancel metadata loading

    API downloadItem.cancelMetadataLoading(item.getId());

    Please check our sample. We create Item. This holds an uniqueId for each download.

    In order to use cancelMetadataLoading API, please pass the same Item id.

Gradle

implementation 'com.kaltura.dtg:dtglib:2.6.6'