gstreamer/subprojects/gst-examples/playback/player/android
Tim-Philipp Müller 4767e069fb Revert "gst-examples: update to gradle 8.3"
This reverts commit 06f5d15549.

Seems to break cerbero android examples ci.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7799>
2024-10-31 04:03:55 +05:30
..
app Revert "gst-examples: update to gradle 8.3" 2024-10-31 04:03:55 +05:30
gradle/wrapper Revert "gst-examples: update to gradle 8.3" 2024-10-31 04:03:55 +05:30
.gitignore
build.gradle Revert "gst-examples: update to gradle 8.3" 2024-10-31 04:03:55 +05:30
gradle.properties
gradlew
gradlew.bat
README.md
settings.gradle

Android GStreamer sample player application

Build and deploy

First of all you need to replace the gold linker with bfd in the gst-android-1.14/armv7/share/gst-android/ndk-build/gstreamer-1.0.mk See also this NDK issue

Then to build and deploy the player app to your device, use a command similar to:

$ GSTREAMER_ROOT_ANDROID=/path/to/gst-android-1.14/ PATH=~/dev/android/tools/bin:~/dev/android/ndk-bundle:$PATH ANDROID_HOME="$HOME/dev/android/" ./gradlew installDebug

Run the application on the device

$ adb shell am start -n org.freedesktop.gstreamer.play/.Play http://ftp.nluug.nl/pub/graphics/blender/demo/movies/Sintel.2010.720p.mkv

To see the GStreamer logs at runtime:

$ adb logcat | egrep '(gst)'