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.
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.