[gstreamer-bugs] [Bug 533619] udpsink dies when Linux fails (for no reason) sendto() with non-posix errno

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue May 20 03:43:32 PDT 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=533619

  GStreamer | gst-plugins-good | Ver: 0.10.x




------- Comment #4 from Gustaf Räntilä  2008-05-20 10:43 UTC -------
Yes there is.

When my computer gets a new IP from my ISP, or when my DHCP lease expires
although I might regain the same IP (this happens frequently), my firewall
scripts restarts.
This affects *no* applications that I have experienced over the last 10 years.

However, during these microseconds, if udpsink dies, an entire stream will end.
This means, I cannot watch movies through gstreamer, simply because during a
few microseconds of FW reconfiguring, udpsink will die.

I have streamed movies from a variety of RTSP servers (which use RTP over UDP
for the payload) from the same machine, and I have never experienced that a
stream ends/fails. It simply never happens. I've also tried simple udp
streamers, with the same result.
With gstreamer's udpsink however, the stream dies after 10-20 minutes every
single time.

I don't understand why gstreamer needs to be so extremely afraid of EPERM as to
kill the entire stream (which obviously no other software does). What is the
purpose of killing the stream? Is it really up to udpsink to kill a stream on
(what I would) loose grounds like these?
>From what I have understood, software usually don't care about results from
sendto() for UDP payloads, only TCP.

Perhaps a patch which tests the first sendto() and fails if the first packet
got EPERM, but ignores EPERM after a successful sendto() would be better.
Please tell me, and I can write that.


-- 
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=533619.




More information about the Gstreamer-bugs mailing list