On 18/05/15 09:34, John Högberg wrote:
Luca Barbato wrote:
You need that if you are receiving a full hd video over udp+mpegts
and that's getting the standard use case.

I second this. MPEG-TS over UDP is mainly used for IPTV, for which
full HD has been bog-standard for years. 12mbps streams are not
uncommon, and many distributors are already rolling out HFR content
which is even worse.

One thing to keep in mind though is that increasing this setting
won't work properly on many setups. I don't know about Windows but on
Linux the system setting "net.core.rmem_max" needs to be at least
twice the requested buffer size in order to hold (See socket(7),
SO_RCVBUF). By default this is set to 256K on most distributions,
making the actual maximum 128K.

In Gentoo the suggested setting is

#net.core.rmem_max = 4194304
#net.core.wmem_max = 1048576

And checking around seems that there are people suggesting something even larger.

On MacOSX it seems working fine.

If I recall correctly setting something larger that the os limit won't make the call fail so this patch shouldn't hurt even for those setup, right?


lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to