Re:Crashing competing media players on Android
by flx42_ on Friday April 18, 2014 @02:41PM
(#7610593)
It depends on your SoC, but most of the time your application won't be able to access HW codecs and then you have no choice but using the mediaserver.
I think that if you pull OMX functions from libstagefright you are actually using IOMX, it's the regular OMX IL API but using IPC with the mediaserver.
This is incorrect. Application access to hardware de/encoders isn't a matter of permissions. You can't get at them directly because the api isn't in the SDK/NDK. However, if you're willing to pull in headers from AOSP, and fool around with dlopen/dlsym you can develop and build against libstagefright.