Samples/tutorial for DRM framework in Android

14,526

EDIT: An example pass-through DRM plugin is now available in AOSP under frameworks/base/drm/libdrmframework/plugins/passthru/


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

Not yet, unfortunately. The only public documentation on this is at the android.drm package summary docs.

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

This is specific to the DRM provider.

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

This too is specific to the DRM provider.

The plugin framework claims extensibility, but I can't find neither plugin AI definitions, nor description how to create/add a custom plugin

I think this will become more clear once the source code is released, but for now there isn't any further info on this unfortunately.

Share:
14,526
Moshe Kravchik
Author by

Moshe Kravchik

Updated on June 26, 2022

Comments

  • Moshe Kravchik
    Moshe Kravchik about 2 years

    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?
    4. The plugin framework claims extensibility, but I can't find neither plugin AI definitions, nor description how to create/add a custom plugin