[gstreamer-bugs] [Bug 563323] [udpsink] reduced cpu usage when using a connected socket

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jan 16 03:00:45 PST 2009


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=563323

  GStreamer | gst-plugins-good | Ver: HEAD CVS




------- Comment #1 from Aurelien Grimaud  2009-01-16 11:00 UTC -------
Here is a patch for udpsrc.
It adds a isconnected property.
When set, recvfrom will pass a null address.
Therefore, we do not have the remote address and NetBuffer will not be filled
with remote address.
It's working for me with a rtpbin behind udpsrc but it is not clean.

Since this remote adress will not change for a connected UDP socket, there is
no need for adding it to all buffers !
There should be another way to pass the information downstream. But this is not
the place to discuss this.


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




More information about the Gstreamer-bugs mailing list