I managed to resolve the issue. The problem was that I had incorrectly installed the GStreamer Android SDKs. To fix it, I made sure that the GStreamer Android SDK and NDK versions were compatible. Additionally, I set the SDK path to the ANDROID_GST_ROOT
environment variable, and I ensured that the path was correctly referenced in the VideoReceiver
file. Once I did this, GStreamer started working properly on Android.
else:AndroidBuild {
GST_VERSION = 1.22.11
#- gstreamer assumed to be installed in $$PWD/../../gstreamer-1.0-android-universal-$$GST_VERSION/***
ANDROID_GST_ROOT = c:/gstreamer/1.0/android #$$PWD/../../gstreamer-1.0-android-universal-$$GST_VERSION
contains(ANDROID_TARGET_ARCH, armeabi-v7a) {
GST_ROOT = $$ANDROID_GST_ROOT/armv7
} else:contains(ANDROID_TARGET_ARCH, arm64-v8a) {
GST_ROOT = $$ANDROID_GST_ROOT/arm64
} else:contains(ANDROID_TARGET_ARCH, x86_64) {
GST_ROOT = $$ANDROID_GST_ROOT/x86_64
} else {
message(Unknown ANDROID_TARGET_ARCH $$ANDROID_TARGET_ARCH)
GST_ROOT = $$ANDROID_GST_ROOT/x86
}