summaryrefslogtreecommitdiffstats
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-11-13 12:20:18 -0800
committerAman Gupta <aman@tmm1.net>2017-11-17 10:48:55 -0800
commit80bb81a8f34729443bdbcdb3bc2c89c221291fe6 (patch)
tree546aaf82c1ad431bfc096c6a1ea882af3b872056 /doc/protocols.texi
parentce001bb8fc6677541c401a614e05e5058d58dde1 (diff)
downloadffmpeg-streaming-80bb81a8f34729443bdbcdb3bc2c89c221291fe6.zip
ffmpeg-streaming-80bb81a8f34729443bdbcdb3bc2c89c221291fe6.tar.gz
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 <aman@tmm1.net> Reviewed-by: Jeyapal, Karthick <kjeyapal@akamai.com>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index a7968ff..4d48f8a 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
OpenPOWER on IntegriCloud