I developed the GStreamer 1.0 plugin that works great on Windows / Linux and some other systems. Now I want to embrace Android. Currently, the plugin is not integrated into GStreamer in the sense that it is not built using GStreamer / Cerbero, but it is created separately using the official GStreamer (devel) binaries obtained in the * .so or * .a file.
How can I use the plugin in an android app? I do not consider the direct inclusion of plugin sources in the application, but using the previously created static / shared library.
I think that the way when my plugin is used as a separate lib (general or static) will not work, because there will be, for example, two glib instances (one from GStreamer (all libs are static there) and one from the plugin), so g_malloc () / g_free () will not work (there will be two heaps).
I'm currently considering integrating my plugin into gstreamer-android.so prebuilt lib (see GStreamer Tutorials for Android), which is generated by scripts built in the style of GStreamer ndk. How can i do this?
Thanks in advance.
source
share