Playing RTSP stream on android

Sebastian Dröge slomo at circular-chaos.org
Mon Sep 2 00:18:28 PDT 2013


On Fr, 2013-08-30 at 14:41 -0500, Udayan Kumar wrote:
> 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.

Could you get debug logs? Enabled e.g. via
gst_debug_set_default_threshold(GST_LEVEL_INFO) and using the
non-release (i.e. debug) version of the SDK?

Also consider updating to the 1.0 version, see here at the bottom:
http://lists.freedesktop.org/archives/gstreamer-devel/2013-August/042736.html



More information about the gstreamer-android mailing list