From 97764dfb6768b6af2daa5525d8287c906e1a1b73 Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Sun, 7 Jul 2024 10:11:35 +0200 Subject: [PATCH] TODO: Add minimum required sdk --- keydive/constants.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/keydive/constants.py b/keydive/constants.py index 302ee42..9efa9a0 100644 --- a/keydive/constants.py +++ b/keydive/constants.py @@ -82,31 +82,32 @@ OEM_CRYPTO_API = { # Add more as needed for different versions. } +# TODO: Add minimum required sdk CDM_VENDOR_API = { 'mediaserver': { - Vendor(11, '1.0', 'libwvdrmengine.so') + Vendor(11, '1.0', 'libwvdrmengine.so') # 23 }, 'mediadrmserver': { - Vendor(11, '1.0', 'libwvdrmengine.so') + Vendor(11, '1.0', 'libwvdrmengine.so') # 24 }, 'android.hardware.drm@1.0-service.widevine': { - Vendor(13, '5.1.0', 'libwvhidl.so') + Vendor(13, '5.1.0', 'libwvhidl.so') # 26 }, 'android.hardware.drm@1.1-service.widevine': { - Vendor(14, '14.0.0', 'libwvhidl.so') + Vendor(14, '14.0.0', 'libwvhidl.so') # 28 }, 'android.hardware.drm@1.2-service.widevine': { - Vendor(15, '15.0.0', 'libwvhidl.so') + Vendor(15, '15.0.0', 'libwvhidl.so') # 29 }, 'android.hardware.drm@1.3-service.widevine': { - Vendor(16, '16.0.0', 'libwvhidl.so') + Vendor(16, '16.0.0', 'libwvhidl.so') # 30 }, 'android.hardware.drm@1.4-service.widevine': { - Vendor(16, '16.1.0', 'libwvhidl.so') + Vendor(16, '16.1.0', 'libwvhidl.so') # 31 }, 'android.hardware.drm-service.widevine': { - Vendor(17, '17.0.0', 'libwvaidl.so'), - Vendor(18, '18.0.0', 'android.hardware.drm-service.widevine') + Vendor(17, '17.0.0', 'libwvaidl.so'), # 33 + Vendor(18, '18.0.0', 'android.hardware.drm-service.widevine') # 34 } }