rtsp audio/video streaming using Gstreamer Android

pushpa pushpalatha.sg at mistralsolutions.com
Mon Mar 16 23:10:04 PDT 2015


I tried to build with latest binaries
(http://gstreamer.freedesktop.org/data/pkg/android/1.4.5/  )

Updated the following things
In Android.mk file changed gstreamer-video-0.10 to gstreamer-video-1.0 and
removed gstreamer-interfaces-0.10

Changed the following things in tutorial-3.c file
- changed #include <gst/interfaces/xoverlay.h> to #include
<gst/video/videooverlay.h>
-  changed all occurences of "x_overlay" string to "video_overlay" 

With the above changes i was able to build the apk successfully,but when I
try to open the apk on the target it throws following error

D/dalvikvm(11455): Trying to load lib
/data/app-lib/com.gst_sdk_tutorials.streaming_example-1/libgstreamer_android.so
0x419381b0
D/dalvikvm(11455): Added shared lib
/data/app-lib/com.gst_sdk_tutorials.streaming_example-1/libgstreamer_android.so
0x419381b0
D/dalvikvm(11455): Trying to load lib
/data/app-lib/com.gst_sdk_tutorials.streaming_example-1/libstreaming-example.so
0x419381b0
D/dalvikvm(11455): Added shared lib
/data/app-lib/com.gst_sdk_tutorials.streaming_example-1/libstreaming-example.so
0x419381b0
W/dalvikvm(11455): No implementation found for native
Lcom/gstreamer/GStreamer;.nativeInit:(Landroid/content/Context;)V
D/AndroidRuntime(11455): Shutting down VM
W/dalvikvm(11455): threadid=1: thread exiting with uncaught exception
(group=0x4153d930)
E/AndroidRuntime(11455): FATAL EXCEPTION: main
E/AndroidRuntime(11455): java.lang.UnsatisfiedLinkError: Native method not
found: com.gstreamer.GStreamer.nativeInit:(Landroid/content/Context;)V






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/rtsp-audio-video-streaming-using-Gstreamer-Android-tp4671126p4671167.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list