Gstremer compatibility with android 10+ devices
Jérôme Laheurte
jerome at jeromelaheurte.net
Mon Dec 7 15:09:14 UTC 2020
> 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 <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.
Best regards
Jérôme Laheurte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201207/0c2458e8/attachment.htm>
More information about the gstreamer-devel
mailing list