As I understood drm service is running in a process named drmserver which 
is different from mediaserver process and the application process. If 
that's the case how the following API call works since file descriptor is 
not supposed to be shared across process. The FileSource class used by 
mediaserver is calling the API below to prepare for the DRM decryption of 
container based content.
 
sp<DecryptHandle> DrmManagerClient::openDecryptSession(int fd, off64_t 
offset, off64_t length, const char* mime);
 
Thanks!
Suntian

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to