sdk-installing-for-android-development: Some further 1.x updates
authorSebastian Dröge <sebastian@centricular.com>
Tue, 21 Jun 2016 21:46:26 +0000 (00:46 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 21 Jun 2016 21:46:26 +0000 (00:46 +0300)
And add it back to the TODO list, more work on this page needed.

TODO.md
sdk-installing-for-android-development.md

diff --git a/TODO.md b/TODO.md
index a3dfe0c..dc74665 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -9,6 +9,8 @@ Pages to review:
    - sdk-installing-on-linux.md
    - sdk-installing-on-mac-osx.md
    - sdk-installing-on-windows.md
+   - sdk-installing-for-android-development.md
+     - Need to update/review the plugins list
 
 
 Screenshots:
@@ -39,7 +41,6 @@ Reviewed pages:
   - sdk-basic-tutorial-handy-elements.md
   - sdk-basic-tutorial-platform-specific-elements.md
  - sdk-installing.md
- - sdk-installing-for-android-development.md
  - sdk-building-from-source-using-cerbero.md
  - sdk-table-of-concepts.md
  - sdk-tutorials.md
index c3806ad..320760b 100644 (file)
@@ -216,13 +216,19 @@ Adding GStreamer support only requires adding these lines:
 
     include $(BUILD_SHARED_LIBRARY)
 
+    ifndef GSTREAMER_ROOT
+    ifndef GSTREAMER_ROOT_ANDROID
+    $(error GSTREAMER_ROOT_ANDROID is not defined!)
+    endif
     GSTREAMER_ROOT            := $(GSTREAMER_ROOT_ANDROID)
+    endif
+
     GSTREAMER_NDK_BUILD_PATH  := $(GSTREAMER_ROOT)/share/gst-android/ndk-build/
-    GSTREAMER_PLUGINS         := coreelements ogg theora vorbis ffmpegcolorspace playback eglglessink soup opensles
+    GSTREAMER_PLUGINS         := coreelements ogg theora vorbis videoconvert audioconvert audioresample playback glimagesink soup opensles
     G_IO_MODULES              := gnutls
-    GSTREAMER_EXTRA_DEPS      := gstreamer-interfaces-1.0 gstreamer-video-1.0
+    GSTREAMER_EXTRA_DEPS      := gstreamer-video-1.0
 
-    include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk 
+    include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk
 
 Where line 7 specifies an extra library to be included in the project:
 `libgstreamer_android.so`. This library contains all GStreamer code,
@@ -233,16 +239,16 @@ access android-specific functionality.
 
 Lines 12 and 13 simply define some convenient macros.
 
-Line 14 lists the plugins you want statically linked into
+Line 20 lists the plugins you want statically linked into
 `libgstreamer_android.so`. Listing only the ones you need makes your
 application smaller.
 
-Line 15 is required to have internet access from GStreamer, through the
+Line 21 is required to have HTTPS/TLS support from GStreamer, through the
 `souphttpsrc` element.
 
-Line 16 defines which GStreamer libraries your application requires.
+Line 22 defines which GStreamer libraries your application requires.
 
-Finally, line 18 includes the make files which perform the rest of the
+Finally, line 24 includes the make files which perform the rest of the
 magic.
 
 Listing all desired plugins can be cumbersome, so they have been grouped