top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android DRM Plugin implementation

0 votes
350 views

I need to create DRM solution for protecting video content with it's license to play only in licensed media player ,

For this, Do I need to implement DRM plugin by myself or i have to go for third party Drm plugin like merlin/widevine to call android DRM API. If by myself to implement the DRM Plugin then how can I implement ? Please any one provide sample program to implement this.

In the Andoird Document from the below url http://developer.android.com/reference/android/drm/package-summary.html
I have seen the below sentence To learn how to use the DRM API with a specific DRM plug-in, see the documentation provided by the plug-in developer.

What does it mean ?. it means that we need to go for third party DRM Plugin vendors

I am little bit confused in implementing DRM Solution. Please Kindly any one show the valuable suggestion/solution.

posted May 29, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

AOSP has sample plugin for OMA DRM FL content.It also has support in Stagefright level for Video Playback. Try to understand FL plugin. It will help you understanding for writing new plugin.

answer May 30, 2013 by anonymous
Similar Questions
0 votes

We have tried to do build with the normal user, but it failed after some time without giving any permission issue. I have made compilation directory permission as 777 and the same code has been compiled successfully with sudo or root user.

0 votes

Can anyone suggest the library for Push Notification?

0 votes

Update is installed but status is in pending on App Center. Since sync is alreday called , it won't rollback automatically and also not updating to newer version. The app crashes on startup everytime.

So how to rollback or update to new code push bundle version in this case ?

Here is the sample code:

componentDidMount() { 
codePush.sync(codePushOptions,(status) => {  
switch (status) {    
case codePush.SyncStatus.CHECKING_FOR_UPDATE:
//console.log("Checking for updates.");
break;  
case codePush.SyncStatus.DOWNLOADING_PACKAGE:
//console.log("Downloading package.");
break;   
case codePush.SyncStatus.INSTALLING_UPDATE:
//console.log("Installing update.");
break;  
case codePush.SyncStatus.UP_TO_DATE:
break;  
case codePush.SyncStatus.UPDATE_INSTALLED:         
break;
}
})
throw new Error();
}

Note : I have thrown error to check working of auto rollback.

...