

There are a few Android-specific tutorials in the tutorials/įolder. User Interface (UI) part and C for the GStreamer code. In the meantime, this documentation will use Java for the Requires using language bindings for the GStreamer API which are notĬomplete yet. Writing your GStreamer code in Java or in C.Īndroid applications are mainly written in Java, so adding GStreamerĬode to them in the same language is a huge advantage. There are two routes to use GStreamer in an Android application: Either Using the GStreamer SDK is still to use "ndk-build". The NDK support in the Gradle build system used byĪndroid Studio is still in beta, so the recommended way to build Window → Preferences → C/C++ → Build → Build Variables and define If you plan to use Eclipse, and do not want to define thisĮnvironment variable globally, you can set it inside Eclipse. If you plan to use Android Studio and do not want to define thisĮnvironment variable globally, you can set it inside the adle. Point GSTREAMER_ROOT_ANDROID to the folder where you unzipped the binaries. This environment variable must be available atīuild time, so maybe you want to make it available system-wide byĪdding it to your ~/.profile file (on Linux and Mac) or to theĮnvironment Variables in the System Properties dialog (on Windows). GSTREAMER_ROOT_ANDROID and point it to the folder where youĮxtracted the GStreamer binaries. You must define an environment variable called Some tools will need to know where you installed the GStreamerīinaries. In the process of building GStreamer-enabled Android applications, The latest version and unzip it into any folder of your choice. The GStreamer project provides prebuilt binaries you should download Besides theĪndroid NDK documentation, you can find some useful Android JNI tips Of C and Java works via the Java Native Interface (JNI).

Included in the Android NDK, and that you understand how the integration You have at least one Android SDK platform installed with APIīefore continuing, make sure you can compile and run the samples

All versions starting from 2.3.1 Gingerbread are supported Prerequisites
