Fix for b/3501089 Require an API in the DRM client to specify the license type (offline/streaming) and b/4084670 Define events in DRM API to support license expiration, revocation, license failure. Implements events and license changes as documented in the Widevine_Java_API_for_Android_DRM_Framework spec
Change-Id: I3d0440e4f64d2279ab3b272a5287db5144e41eb1
This commit is contained in:
@@ -315,7 +315,7 @@ int main( int argc, char *argv[] )
|
||||
Terminate();
|
||||
}
|
||||
|
||||
if (!sDrmPlugin->ProcessDrmInfo(url)) {
|
||||
if (!sDrmPlugin->ProcessDrmInfo(url, WVDRMPluginAPI::PlaybackMode_Any)) {
|
||||
fprintf(stderr, "ERROR: ProcessDrmInfo failed\n");
|
||||
Terminate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user