Playing RTSP stream on android

Udayan Kumar udayan.kumar at gmail.com
Fri Aug 30 12:41:07 PDT 2013


Hi,

I am working through tutorial 4 for the android gstreamer sdk. The
http streaming playback is working but instead of the http stream if I
give a uri for the RTSP stream, I get the following warning in logcat
and video does not play:

08-30 12:54:07.277: W/GStreamer+tutorial-4(18874): 2:21:41.337401721
0x5d6b8ba0 /Users/test/Downloads/gstreamer-sdk-android-arm-debug-2013.6/share/gst-sdk/tutorials/android-tutorial-4/jni/tutorial-4.c:138:refresh_ui
Could not query current duration


I am using the 2013.6 SDK for android. my RTSP stream is based on H264
encoding, so I have added  $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) to
the plugins list in Android.mk file.

Can someone please help in understanding what may be going wrong here ?
The rtsp stream playback on VLC player without an issue.

Regards,
Udayan


More information about the gstreamer-android mailing list