[bug] gstreamer 1.x rtspsrc does not work properly [released]
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://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883
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 = false /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883 /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 rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883 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."
This is the proposed fix https://github.com/mer-packages/glib2/pull/3
MSameer ( 2015-09-14 20:38:09 +0200 )editIt 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 +0200 )editDid it get fixed ?
onion ( 2015-09-24 22:14:55 +0200 )editUnfortunately 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 +0200 )editFigured 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 +0200 )edit