68b3d9f49e68a11af5225175dc9e60ce88819e84 |
|
07-Jan-2017 |
Edwin Wong <edwinwong@google.com> |
Pass application packagename to drm plugin. Pass application package name to createPlugin and createDrmPlugin. The application packagename will be used as part of a unique identifier for drm plugin. Test: Play Movies. Test: ANDROID_BUILD_TOP= ./android-gts/tools/gts-tradefed run gts -m GtsMediaTestCases --test com.google.android.media.gts.WidevineH264PlaybackTests#testL1With480P60 Verify the application's packagename is reachable in the drm plugin's debug log. bug: 27101531 Change-Id: I84fb09b591a7af63f6e20004e910112a4ce6ebac
/frameworks/av/drm/mediadrm/plugins/clearkey/DrmFactory.cpp
|
01a977aa75c296c5467024a7beac50cbd4ed0335 |
|
11-Aug-2016 |
Edwin Wong <edwinwong@google.com> |
Fix AMediaDrm_getKeyRequest which fails clearkey InitDataParser::parse test. AMediaDrm_getKeyRequest() passes mimeType to drm plugin's getKeyRequest() based on the UUID. If the drm scheme is clearkey UUID, clearkey plugin will return ERROR_DRM_CANNOT_HANDLE because it is expecting initDataType (e.g. "cenc") instead of mimeType (e.g. "video/mp4"). Replace initDataType parameter in clearkey DrmPlugin::getKeyRequest() with mimeType. bug: 30790899 Change-Id: I60c77c458d8d836d3eb2f9f52296a86efa73a4eb
/frameworks/av/drm/mediadrm/plugins/clearkey/DrmFactory.cpp
|
1fe11a5d1b7932a8a4a4e6e8cf1aedd21fcdb3aa |
|
14-May-2014 |
John "Juce" Bruce <juce@google.com> |
ClearKey Implementation of DRM Plugin APIs Adds shared-object entry points and interface implementations that implement the Android ClearKey DRM Plugin API. Change-Id: Ie889747492cf85efe883149833105538faaa4cfe
/frameworks/av/drm/mediadrm/plugins/clearkey/DrmFactory.cpp
|