From 80bb81a8f34729443bdbcdb3bc2c89c221291fe6 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 13 Nov 2017 12:20:18 -0800 Subject: avformat/tcp: add option to enable TCP_NODELAY This can reduce latency and increase throughput, particularly on high latency networks. Signed-off-by: Aman Gupta Reviewed-by: Jeyapal, Karthick --- doc/protocols.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/protocols.texi') diff --git a/doc/protocols.texi b/doc/protocols.texi index a7968ff56e..4d48f8a411 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1242,6 +1242,9 @@ Set receive buffer size, expressed bytes. @item send_buffer_size=@var{bytes} Set send buffer size, expressed bytes. + +@item tcp_nodelay=@var{1|0} +Set TCP_NODELAY to disable Nagle's algorithm. Default value is 0. @end table The following example shows how to setup a listening TCP connection -- cgit v1.2.3