[Bug 727067] udpsrc: set udp buffer size forcibly

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 17 18:24:30 UTC 2018


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

--- Comment #33 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
Created attachment 373407
  --> https://bugzilla.gnome.org/attachment.cgi?id=373407&action=edit
udpsrc: Balance Linux value of get/set_rcvbuf

On Linux, the kernel returns twice the size as it will allocate extra
space for accouting. We devides this value by two in order to ensure
that get/set value now match. This fixes the set buffer size validation
and allow having a nice warning when the size if surpassed and the
process does not have CAP_NET_ADMIN capabilities.

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