Playing RTSP stream on android

Udayan Kumar udayan.kumar at gmail.com
Tue Sep 3 08:44:09 PDT 2013


I am adding the logs here (after adding gst_debug_set_default_
threshold(GST_LEVEL_INFO) in the gst_native_init()).

RTSP url used is rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov

Towards the end of the log collection period, I had pushed the play
button on the player once.


I tried updating to the 1.0 (
gstreamer-1.0-android-arm-1.0.
10-debug-runtime.tar.bz2) but could not
figure out a way to generate libgstreamer_android.so library.  So
still using 2013.6 SDK.

Many thanks!

On Mon, Sep 2, 2013 at 2:18 AM, Sebastian Dröge
<slomo at circular-chaos.org> wrote:
> 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
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstreamer-rtsp-logcat.txt.zip
Type: application/zip
Size: 23162 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130903/6b41c691/attachment-0001.zip>


More information about the gstreamer-android mailing list