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 } }