Gstremer compatibility with android 10+ devices

Purva gevaria.purva at einfochips.com
Tue Dec 1 14:21:22 UTC 2020


Hi,
I am developing android application I am facing issues while live streaming
in android 10 devices.
App works fine with android 7 devices. Here is the error Error received from
decodebin0 : on Android 10 device,
===========================
Your gstreamer installation is missing plugin.
============================
../sys/androidmedia/gst-android-hardware-camera.c:1616:_init_classes Failed
to initialize android.hardware.Camera classes: Failed to call Java method:
java.lang.ClassNotFoundException: Didn't find class
"org/freedesktop/gstreamer/androidmedia/GstAhcCallback" on path:
DexPathList[[zip file
"/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk"],nativeLibraryDirectories=[/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/lib/arm64,
/data/app/org.freedesktop.gstreamer.livestream.livestreaming-1/base.apk!/lib/arm64-v8a,
/system/lib64, /vendor/lib64]]

I figured out that issues is with libgstandroidmedia.a which is prebuilt
file. Is there any way to get this file source code or modify this file so
that I can make this library compatible to Android 10 ?
 
I have been using gstremer source from below link
https://gstreamer.freedesktop.org/download/

Any help or guidance would be appreciated
Screenshot_2020-10-19-11-58-25-432_org.jpg
<http://gstreamer-devel.966125.n4.nabble.com/file/t379722/Screenshot_2020-10-19-11-58-25-432_org.jpg>  



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list