Rtsp server on android

lasernav lasernav.dev at gmail.com
Fri Oct 10 03:11:25 PDT 2014


I'm trying to build a gstreamer app for android, including the
gst-rtsp-server-1.0 library.
I've compiled the library using cerbero with the following commands:

cerbero -c config/cross-android.cbc bootstrap
cerbero -c config/cross-android.cbc build gst-rtsp-server-1.0

After I put the library in the android project and edited the makefile.
But, if I use the .so library, the app crash at startup because is searching
for another library, with extension .so.0, that is not supported by ndk.

So i switched to the static library, but now I'm struggling with this error:

ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld:
jni/rtsp-server-prebuilt/libgstrtspserver-1.0.a(libgstrtspserver_1.0_la-rtsp-media.o):
in function gst_rtsp_media_get_time_provider:rtsp-media.c:2647: error:
undefined reference to 'gst_net_time_provider_new'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/libtutorial-1.so] Error 1

Does anybody knows how to fix it ? 

Thanks,
Erik






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Rtsp-server-on-android-tp4668997.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list