GNOME Bugzilla – Bug 571400
RTSP blocks in gst_element_set_state( GST_STATE_PAUSED ) and incorrect url
Last modified: 2011-06-15 22:43:33 UTC
RTSP plugin blocks in gst_element_set_state( GST_STATE_PAUSED ) and incorrect url for quite large amount of time ( something like 30 seconds ). I noticed it blocks even if the url is correct, but for much smaller amount of time ( like 1 second, depends on network quality ). I'm using gstreamer 0.10.22 with plugins-good-0.10.13 Here is the backtrace:
+ Trace 212491
We should eventually change this code so that it does the network stuff in the streaming thread. We can't detect a server error then in the state change but an error will be posted at runtime. I guess this is ok.
There is a non-blocking branch here: http://cgit.freedesktop.org/~wtay/gst-plugins-good/log/?h=progress It also requires the progress branch of -core: http://cgit.freedesktop.org/~wtay/gstreamer/log/?h=progress These modifications allows for application level timeouts and cancelation of pending requests. See also the design docs: http://cgit.freedesktop.org/~wtay/gstreamer/tree/docs/design/draft-progress.txt?h=progress&id=f161c1a3003e8b7dc82a38e3664ee7accab288e3
And this is fixed now: commit 2873585238280a150558919a217e554326ed8395 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Fri Jan 7 11:40:32 2011 +0100 rtspsrc: first attempt at async implementation ... and many other commits.