[vlc-devel] [PATCH] network: export SO_RCVBUF & SR_SNDBUF as config options

Steinar H. Gunderson sgunderson at bigfoot.com
Wed Nov 20 13:59:55 CET 2013

On Wed, Nov 20, 2013 at 02:36:34PM +0200, Ilkka Ollakka wrote:
>>>> The default for VLC (at least on Linux) should simply be to leave it alone,
>>>> though, as Linux has socket buffer size auto-tuning these days.
>>> Leave it alone for Linux probably will be fine since we can still manipulate the
>>> system-wise default values if we have to.
> I agree that atleast in Linux we should just remove the calls to change
> recvbuf and sendbuf. Haven't tested in Windows how well Windows can tune
> those itself to be proper.

I'm pretty sure that on modern Windows (around Vista or 7 or something),
this is also relatively reasonable.

By the way, anyone serious about sending out video with VLC should look at
the new sch_fq stuff in Linux 3.13 (for packet pacing).

/* Steinar */
Homepage: http://www.sesse.net/

More information about the vlc-devel mailing list