Gstremer compatibility with android 10+ devices

Nicolas Dufresne nicolas at ndufresne.ca
Mon Dec 7 21:38:42 UTC 2020


Le lundi 07 décembre 2020 à 16:09 +0100, Jérôme Laheurte a écrit :
> 
> 
> > Le 7 déc. 2020 à 14:55, Purva <gevaria.purva at einfochips.com> a écrit :
> > 
> > Any idea how to apply plugin ? Do i need to download any source and compile
> > ndk steps or anything ?
> 
> As Nicolas said, your problem is probably that Android 10 removed the API used
> by the current source element (ahcsrc). You won’t be able to make it work.
> What I’m doing is trying to use a different element, which uses a newer API,
> but was never incorporated into gstreamer, so it involves merging and fixing
> the branch from the ahc2src repository (
> https://gitlab.collabora.com/joykim/gst-plugins-bad/tree/899ca9f8317839eb2ce513b5e84ee9f253d1edb8/sys/androidmedia
> ) which is not exactly easy. This does not work right now.
> 
> As for now I guess you can’t capture from the camera on Android 10 and later.

Normally you should be able to target an older version of Android, like 9, and
use the legacy HAL (it's being emulated on top of the new one).

> 
> Best regards
> Jérôme Laheurte
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list