• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android DRM Sample example code.

 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


Android 4.0 brings drm framework to smartphones. I'm interested to write a code that plays video protected by the DRM, but can't find enough information.


1.Are there any tutorials on using the DRM framework? Sample code?

2.How to set up an environment - the server side that creates the content and licenses?

3.Are there any DRM protected videos in the Internet that I can use for testing?




Please provide working example on Android DRM.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a lot of information is available about that (aside from the javadocs and the source code, obviously); closest I found is http://developer.samsung.com/android/technical-docs/DRM-in-Android.
 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for your reply . But it seems to be the docs(API ) which doesn't have any working samples(example).
we are trying to get the working sample using DRM API in google. but we couldn't get anything.

Please provide any example using Android DRM API.

Note: How about using google widevine/adobe access/marlin DRM Framework?


Thanks
 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could you please provide either working samples or links on Android DRM API.



Thanks
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this was my project I would assume that no such information and examples exist. A quick search on the web indicates that commercial Android DRM solutions exist (like this one), but you'd have to do some digging to determine whether it support the android.drm API. It would be interesting to read what you find out.
 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for your kind answer. i will let you know if found any solution for this.

But i have a one query to you whether we can directly use Android DRM API without using commercial third party DRM solutions like inside secure or any others(Merlin,google widevine).

Please provide any information if possible.


Thanks
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My impression is that Android contains the API only, but no implementation. If that's correct, then the answer would be no.
 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for your kind reply. As per your commnets, we can go build the android DRM solutions with third party DRM Framework which interm supports(Exposes)Android DRM API implementation.

Is it correct?

If we go for commercial product , the licence fee is very high. Is there any opensource DRM framework available in the market which supports Android DRM API implementation?


I look forward your kind reply.



Thanks.

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we can go build the android DRM solutions with third party DRM Framework which interm supports(Exposes)Android DRM API implementation.

That's my understanding of how this API is supposed to work.

Is there any opensource DRM framework available in the market which supports Android DRM API implementation?

I doubt it. That's not the kind of project that people tend to do for fun in their spare time.
 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


Thanks for your valuable suggestions on DRM .


Finally ,

For my clarification/Confirmation , without having third party DRM Framework , there is not possible to work directly with Android DRM API and if it is true ,why andriod just gives DRM API itself without (Hiding)implementation .

It is really crazy to left implementation with Third party DRM framework or hiding implementation docs with examples.


Any way,


Once again Thanks for your kind help.




Thanks



 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why andriod just gives DRM API itself without implementation

So that app developers only have to learn and use a single DRM API, instead of a separate API for each DRM implementation. It's a good idea in theory, and there have been several APIs put forward by Sun/Oracle without an implementation (for example JDBC -by and large- and JavaSpeech). DRM schemes will be too different that one developed by, say, Google for Android, will be a good fit for all the different kinds of content that folks will try to charge for.
 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Ok . I accept your answer. But what i meant to say is there is no such examples out there on how to use /implement Android DRM API and They(Android) forced to buy third party DRM frameworks such as Google widevine / Melin etc... for implementing Android DRM API. But this is impossible for whoever using open source framework(Android DRM API) and not going for buying third party DRM frame work because of license fee is very very high.


So , Android Plugin(Third party drm framework) is a must to have work with Android DRM API.


Ref :

Google DRM Plugin


Thanks for your valuable information.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you're missing the point of this API. It is not meant for casual use in free or cheap apps. It is meant for use by professional content distributors (like publishing houses and TV stations) who want to protect their intellectual property. For those the license fee is not "very, very high", it is a cost of doing business.
 
venkatesh Rsamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I agree your point . Finally We may plan to buy a license version of Third party DRM framework especially Merlin or Adobe File Access . I think merlin is wonderful framework to have great features to support Android DRM.


Thanks for your great and valuable kind help.

I will get back to you after finalyzing the third party DRM framework .

Once again thank you for your valuable suggestions.



Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic