Hi,
Trying to add previously downloaded gstreamer static libs(gstreamer-1.0-android-universal-1.14.5 need older version) to my AOSP audio module in Anroid.bp like this:
cc_library {
name: "mygstreamer_pipeline",
vendor: true,
defaults: ["cpp_library_defaults"],
srcs: [
"default/mysrc/*.cpp"
],
export_include_dirs: ["default/myincludes/include"],
static_libs: [
"libgstreamer",
"libgmodule",
"libgobject",
"libffi",
"libglib",
"libintl",
"libiconv",
"libgstrtp",
],
shared_libs: ["liblog",],
cflags: [
"-ggdb",
],
Example of one of the static libs above
cc_prebuilt_library_static {
name: "libgobject",
strip: {
none: true,
},
vendor: true,
compile_multilib: "both",
target: {
android_x86_64: {
srcs: ["prebuilt/gstreamer-1.0-android-universal-1.14.5/x86_64/lib/libgobject-2.0.a"],
},
android_x86: {
srcs: ["prebuilt/gstreamer-1.0-android-universal-1.14.5/x86/lib/libgobject-2.0.a"],
}
}
}
Everything compiles but when code trying to create whole pipeline the only element that is created is pipeline(gst_pipeline_new) but no plugins(like appsrc, rtpbin etc…).
How can I fix it or compile maybe differently libs to my module?
Thanks upfront.