WELCOME TO ANDROID'S EXAMPLE!


As shown in the figure, the DRM framework uses a plug-in architecture to support various DRM schemes. The DRM manager service runs in an independent process to ensure isolated execution of DRM plug-ins. Each API call from DrmManagerClient to DrmManagerService goes across process boundaries by using the binder IPC mechanism. The DrmManagerClient provides a Java programming language implementation as a common interface to runtime applications; it also provides a DrmManagerClient-native implementation as the interface to native modules. The caller of DRM framework accesses only the DrmManagerClient and does not have to be aware of each DRM scheme. 

Plug-ins are loaded automatically when DrmManagerService is launched. As shown in the figure below, the DRM plug-in manager loads/unloads all the available plug-ins. The DRM framework loads plug-ins automatically by finding them under:
/system/lib/drm/plugins/native/



The plug-in developer should ensure the plug-in is located in the DRM framework plug-in discovery directory. See implementation instructions for details. Read more...

0 comments:

Post a Comment

Popular Posts