On Fri, 11 Sep 2015 16:10:09 +0300
Mohammed Hassan <mohammed.has...@jolla.com> wrote:

> On Fri, 11 Sep 2015 14:23:07 +0300
> Kaj-Michael Lang <mil...@tal.org> wrote:
> 
> > Hi
> > 
> > Upgraded my phone to 1.1.9.28 (upgrade was smoonth) and tried my
> > softwares, unfortunately something is broken with rtspsrc in
> > gstreamer.
> > 
> > On my desktop with gst 1.4.5 it works ok, but on the device I get a
> > connection error, and it is not my network, users have reported the
> > same thing.
> > 
> > Commandline used:
> > gst-launch-1.0 -t -c -v  playbin
> > uri=rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883
> > 
> > On desktop, connects and plays ok:
> > 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
> > Progress: (open) Retrieving server options
> > Progress: (open) Retrieving media info
> > Progress: (request) SETUP stream 0
> > .....
> > etc and the stream plays ok
> > 
> > On device, I get a connection error:
> > 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 ...
> > 
> > any ideas ?
> 
> I am surprised it complains about an invalid URI:
> Progress: (connect) Connecting to
> rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883
> 0:00:00.074042423 14227  0x1ebf460 ERROR                default
> gstrtspconnection.c:877:gst_rtsp_connection_connect: failed to
> connect: Invalid URI
> 'rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883'
> 0:00:00.074591790 14227  0x1ebf460 ERROR                rtspsrc
> gstrtspsrc.c:4198:gst_rtsp_conninfo_connect:<source> Could not connect
> to server. (Generic error) 0:00:00.074988555 14227  0x1ebf460
> WARN                 rtspsrc
> gstrtspsrc.c:6868:gst_rtspsrc_retrieve_sdp:<source> error: Failed to
> connect. (Generic error)
> 
> You would be better submitting a t.j.c issue so I can at least try to
> update you as I make progress debugging it.

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.

If you want to be updated on the issue then please file a t.j.c post ;-)

Cheers,

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to