From 46e3ad905288e725820de7c41c70aeb1ebced101 Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Sat, 26 Oct 2024 15:18:05 +0200 Subject: [PATCH] add new DRM player reference --- keydive/constants.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/keydive/constants.py b/keydive/constants.py index 4b272c6..c924064 100644 --- a/keydive/constants.py +++ b/keydive/constants.py @@ -1,3 +1,5 @@ +from pathlib import Path + from keydive.vendor import Vendor # https://developer.android.com/ndk/guides/cpp-support @@ -121,3 +123,10 @@ CDM_FUNCTION_API = { 'PrepareKeyRequest', 'getOemcryptoDeviceId' } + +# https://github.com/kaltura/kaltura-device-info-android +DRM_PLAYER = { + 'package': 'com.kaltura.kalturadeviceinfo', + 'path': Path(__file__).parent.parent / 'docs' / 'server' / 'kaltura.apk', + 'url': 'https://github.com/kaltura/kaltura-device-info-android/releases/download/t3/kaltura-device-info-release.apk' +}