[gstreamer-bugs] [Bug 562258] New: rtspsrc element takes long time to error out if the address is not valid (windows)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Nov 25 12:52:46 PST 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=562258
GStreamer | gst-plugins-good | Ver: HEAD CVS
Summary: rtspsrc element takes long time to error out if the
address is not valid (windows)
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: iwings at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
1. gst_rtsp_connection_connect()
There's something wrong with gst_rtsp_connection_connect().
If there's no server running on target host, it returns OK (linux), timeout
(windows)
Should it return connection refused or something?
2. gst_rtspsrc_loop_udp()
If I kill the RTSP server while streaming is going on, gst_rtspsrc_loop_udp()
tries to reconnect.
In linux, reconnection succeeds anyway (see 1.), and later calls to
gst_rtspsrc_connection_receive() fails with connection refused error and exit
the loop abnormally.
In windows, reconnection fails with timeout error (takes long time), and later
calls to gst_rtspsrc_connection_receive() stuck forever (fd=-1), never return.
Steps to reproduce:
1. gst-launch-0.10.exe rtspsrc location=rtsp://localhost/live ! fakesink
Actual results:
...
0:00:20.158000000 3956 01201F58 WARN rtspsrc
gstrtspsrc.c:4328:gst_rtspsrc_open:<rtspsrc0> error: Could not connect to
server. (Timeout while waiting for server response)
...
Expected results:
gst_rtspsrc_open() should fail immediately.
Does this happen every time?
yes
Other information:
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=562258.
More information about the Gstreamer-bugs
mailing list