Gstremer compatibility with android 10+ devices

Nicolas Dufresne nicolas at ndufresne.ca
Wed Nov 25 12:36:51 UTC 2020


Le mer. 18 nov. 2020 10 h 00, Jérôme Laheurte <jerome at jeromelaheurte.net> a
écrit :

>
>
> Le 6 nov. 2020 à 16:21, Jérôme Laheurte <jerome at jeromelaheurte.net> a
> écrit :
>
>
>
> Le 5 nov. 2020 à 16:28, Nicolas Dufresne <nicolas at ndufresne.ca> a écrit :
>
> What is needed is to resurrect this as an MR and finish whatever is
> needed:
>
> https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/618
>
>
> It just so happens that I’m currently investigating this for work. I did a
> quick and dirty merge and some fixes for Meson, but haven’t had the
> occasion to test it yet (lack of hardware). Since I’m definitely not an
> Android developer there’s not much I could do if it doesn’t work but I’ll
> keep you informed.
>
>
> Obviously Google already gave up on the « don’t be evil » stuff when they
> designed Android, that was a PITA. Anyway I made some progress but
> unfortunately the only hardware I have right now (Galaxy Tab S2) does not
> support camera2 so I couldn’t test the actual capture. I had to add some
> validation in gst_ahc2_src_get_caps to prevent a SIGSEGV when no compatible
> camera is found; aside from this the plugin registers. I’ll ask my boss to
> buy a more recent Android tablet and I’ll come back when I have more news.
>
> IIRC a comment in the PR suggested to « split » androidmedia and this will
> indeed be necessary. The plugin fails to initialize if it doesn’t find the
> Java callback classes needed by ahcsrc, even though ahc2src won’t need them…
>

Ideally we can outcompile with the split to avoid the back trace.


> Best regards
> Jérôme Laheurte
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201125/925e0b89/attachment.htm>


More information about the gstreamer-devel mailing list