[Bug 769773] New: [multiudpsink] Randomly ceases to send to clients.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 11 23:04:25 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=769773

            Bug ID: 769773
           Summary: [multiudpsink] Randomly ceases to send to clients.
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gstblub at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 333154
  --> https://bugzilla.gnome.org/attachment.cgi?id=333154&action=edit
multiudpsink: Initialize bytes_sent field.

Under higher packet rates I observed that clients randomly drop out and stop
receiving any data.  This happens when writing to the socket starts failing
(e.g. because the socket returns an recoverable error such as EWOULDBLOCK). 
The problem is that the bytes_sent field is never initialized to 0 and
g_socket_send_messages() only sets this field when it actually wrote data for
this message.  The fact that bytes_sent may be any random value when it fails
to send a message then confuses gst_udp_messsages_find_first_not_sent().

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list