Gstremer compatibility with android 10+ devices

Nicolas Dufresne nicolas at ndufresne.ca
Thu Nov 5 15:28:17 UTC 2020


Le jeudi 05 novembre 2020 à 10:12 -0500, Nicolas Dufresne a écrit :
> Le jeudi 05 novembre 2020 à 07:29 -0600, Purva a écrit :
> > I am not getting any error inwhile compiling it with android 7 devices. My
> > live streaming functionality works perfectly with android 7 but I am facing
> > an issue while I am trying to compile it with android 10 version. Below is
> > the error log cat.
> > 
> > 10-12 18:44:32.443  2847  2847 E GStreamer+ahc: 0:00:00.146510989
> > 0x7f7964c500
> > ../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]]
> 
> They must have removed the deprecated Camera API. That's fair game, we
> need to update the build system to skip that source. A Camera2 base
> implementation is needed. Will you file issues ? or even better submit
> MRs ?

What is needed is to resurrect this as an MR and finish whatever is
needed:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/618

> 
> > 
> > Another issue is I am not getting error while initializing gstreamer but it
> > occors only while I am trying to play and start live streaming . And that is
> > specifically in android 10. Things are good and find in android 7 devices.
> > 
> > 
> > 
> > --
> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 




More information about the gstreamer-devel mailing list