Ask / Submit

[bug] gstreamer 1.x rtspsrc does not work properly [released]

Tracked by Jolla (In release)

asked 2015-09-14 20:26:53 +0300

onion gravatar image

As reported on the SailfishDevel mailinglist, rtspsrc does not work properly and brakes streaming applications using rtsp streams (for example Y-Radio)

Command used:

gst-launch-1.0 -t -c -v  playbin uri=rtsp://
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size
= 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering =
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri =
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source =
"\(GstRTSPSrc\)\ source"
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
ERROR: from
element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Could not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(6868): gst_rtspsrc_retrieve_sdp
(): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Failed to connect. (Generic error)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

The issue has been tracked down to a bug in glib by Mohammed Hassan:

"I did some more digging and it is a bug in glib. _g_uri_parse_authority() fails to parse the URI but this seems to has been fixed already. We are using an old glib and thus we are missing those fixes. I will see what can be done regarding that."

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by ApB
close date 2015-11-05 17:55:32.156366



This is the proposed fix

MSameer ( 2015-09-14 20:38:09 +0300 )edit

It does seem that we will have this fixed in 1.1.9 update. No promises yet but it's very likely.

MSameer ( 2015-09-15 16:18:58 +0300 )edit

Did it get fixed ?

onion ( 2015-09-24 22:14:55 +0300 )edit

Unfortunately no. The fix will be in the next update. I did my best but the fix was in glib which is too risky

MSameer ( 2015-09-24 23:14:11 +0300 )edit

Figured as much. Luckily hlssrc now works properly so it's not that serious anymore. Just waiting for Harbour QA do their thing.

onion ( 2015-09-29 10:51:48 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-11-05 17:54:34 +0300

MSameer gravatar image

This was fixed in

edit flag offensive delete publish link more

Question tools



Asked: 2015-09-14 20:26:53 +0300

Seen: 491 times

Last updated: Nov 05 '15