Re: Android DRM Plugin

1,612 views
Skip to first unread message

KaPiL.rIcKy

unread,
May 30, 2013, 1:39:41 AM5/30/13
to android-...@googlegroups.com
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.



On Wed, May 29, 2013 at 7:08 PM, venkatesh rengasamy <rven...@gmail.com> wrote:
Hi,

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


 ,  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


Thanks


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks and regards
Kapil Kumar
~~~~~~~~~~~~~~~~~~~~~~~~~~

KaPiL.rIcKy

unread,
Jun 2, 2013, 11:43:36 AM6/2/13
to android-...@googlegroups.com
1.you can create content using some nokia tool i guess, as most oem have their own test servers which can not be used publically,

2.You can use same MediaPlayer.java API to play DRM FL content. 

3.you have to dig code to understand more, few pointers will be:
filesoruce.cpp
datasource.cpp
awesomeplayer.cpp
drmmanagerservice.cpp
drmmanagerclient.java and cpp

Cheers
KK

On Fri, May 31, 2013 at 6:36 PM, venkatesh rengasamy <rven...@gmail.com> wrote:
Hi, 

Thnaks for your reply.

Do you have any example for OMA DRM FL content and kindly some input on Stagefright level for Video PLayback.

Can we use android Media player API to run for protected content or any third party media player api is needed to implement for Stagefright level for Video PLayback.

Kindly give some valuable suggestions on this as i am new to android platform [DRM]




Thanks.

KaPiL.rIcKy

unread,
Jun 3, 2013, 11:25:03 AM6/3/13
to android-...@googlegroups.com
thanks for your reply. i understand that  there is no need to go for third party native media player to run protected content .well .so we make use of media player API with license check and decrypt the content to play in the media player.

is it correct?
-YES. AwesomePlayer.cpp has code to verify for Liscence and decryption in filesource.cpp

Cheers
KK



On Mon, Jun 3, 2013 at 9:48 AM, venkatesh rengasamy <rven...@gmail.com> wrote:
Hi,

thanks for your reply. i understand that  there is no need to go for third party native media player to run protected content .well .so we make use of media player API with license check and decrypt the content to play in the media player.

is it correct?

for your info , we are not going to use nokia .
any other tool to generate drm FL Content or we can write our own drm solution like encrypttion/decryption and license generation with  DRM FL content (to write some code using Android DRM API)  and play in media player.

i am expecting your comments based on my understandings.




Thanks




 


Please confirm on this.

venkatesh rengasamy

unread,
Jun 5, 2013, 9:27:55 AM6/5/13
to android-...@googlegroups.com
Hi,

Thanks for your kind reply. 


i have no idea about C++ . I think , we need to write JNI or use  NDK  to look up C++ integration .Is it correct ? 

KaPiL.rIcKy

unread,
Jun 5, 2013, 9:34:43 AM6/5/13
to android-...@googlegroups.com
JNI part is already written for DRM and Media Player, alhthough few bugs and missing support might b there.

As said before, check for android-fwk-base-drm folder and android-fwk-av :)



--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

venkatesh rengasamy

unread,
Jun 6, 2013, 4:19:16 AM6/6/13
to android-...@googlegroups.com
Hi,

check for android-fwk-base-drm folder and android-fwk-av


Where are the above folders in (Is it in androd SDK ) or anywhere


Thanks for your kind help

KaPiL.rIcKy

unread,
Jun 6, 2013, 4:39:12 AM6/6/13
to android-...@googlegroups.com
in full Android source code, i hope you have downloaded whole andorid platform source.


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-platform?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

venkatesh rengasamy

unread,
Jun 10, 2013, 5:47:52 AM6/10/13
to android-...@googlegroups.com
Hi,

thanks for your reply . I will look on this.

Vivek

unread,
Jun 26, 2013, 7:21:38 AM6/26/13
to android-...@googlegroups.com
Venkatesh,
Can you share your final conclusion?
I am also looking to develop something similar.

schwiz

unread,
Sep 19, 2013, 5:21:39 PM9/19/13
to android-...@googlegroups.com
Can you be any more specific there is 10 gigs worth of files to look through... which folder is it in after the initial 'repo sync'

ying...@gmail.com

unread,
Dec 5, 2014, 4:09:03 AM12/5/14
to android-...@googlegroups.com
hi
After reading the answers,  I have known how to add 3rd DRM plugin.
But now ,  I am confuse that If there serveral plugins,   how can java code choose which plugin to use? 
Because application maybe need use serval plugins in diffrent case.
I have not seen any google standard api to choose which DRM plugin to use.

Message has been deleted

ying...@gmail.com

unread,
Dec 9, 2014, 10:11:32 PM12/9/14
to android-...@googlegroups.com
OK, android.drm.DrmInfoRequest,    DrmInfoRequest(int infoType, String mimeType),
mineType points that which plugin to use.
example(In ANDROID SOURCE): cts/ tests/tests/drm

在 2014年12月5日星期五UTC+8下午5时09分03秒,ying...@gmail.com写道:
Reply all
Reply to author
Forward
0 new messages