Application for Android with Qt/C++

Sebastian Dröge sebastian at centricular.com
Mon Jun 22 10:27:30 PDT 2015


On Mo, 2015-06-22 at 06:03 -0700, Liru7 wrote:
> Heyho GStreamers :)
> 
> I am trying to write an application for Android with Qt/C++...and 
> GStreamer
> ;)
> I've read that it is necessary to initialize each plugin manually, 
> when I'd
> like to run the application on Android or IOS. Are there any 
> functions like
> gst_init for the single plugins or does anybody have a instruction 
> how to
> get started with GStreamer on Android with Qt/C++?

Best would be to start with looking at some code that uses GStreamer on
Android with the normal Java platform. You'll see than that the ndk
-build build system shipped by GStreamer generates a big shared library
with GStreamer, all the selected plugins and their dependencies. And
that library contains a gst_android_init() function, which you can also
call from C++ (it takes the android.context.Context as parameter
though!), and it will initialize GStreamer and all static plugins for
you.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150622/2ba1b7f9/attachment.sig>


More information about the gstreamer-devel mailing list