We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

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

Tracked by Jolla (In release)

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

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://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."

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

Comments

1

This is the proposed fix https://github.com/mer-packages/glib2/pull/3

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

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 +0200 )edit
1

Did it get fixed ?

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

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 +0200 )edit
1

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 +0200 )edit

1 Answer

Sort by » oldest newest most voted
2

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

MSameer gravatar image

This was fixed in 2.0.0.10

edit flag offensive delete publish link more

Question tools

Follow
3 followers

Stats

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

Seen: 1,494 times

Last updated: Nov 05 '15