summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorNick Ruff <nickruff@devvm32779.prn1.facebook.com>2021-06-11 21:02:02 +0200
committerThilo Borgmann <thilo.borgmann@mail.de>2021-06-20 22:45:35 +0200
commitea24781a9b508f92b6b2bb97ffca386898b70193 (patch)
tree8380652b8d28962907c90749a170cff229a44d4f /doc/protocols.texi
parent52795d7f091f45a170eed9bc7d1a92f396d176c9 (diff)
downloadffmpeg-ea24781a9b508f92b6b2bb97ffca386898b70193.tar.gz
lavf/rtmp: Add option to set TCP_NODELAY for rtmp
Suggested-By: ffmpeg@fb.com
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index d3095c88c6..6b5a9cfbd5 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -843,6 +843,11 @@ URL to player swf file, compute hash/size automatically.
@item rtmp_tcurl
URL of the target stream. Defaults to proto://host[:port]/app.
+@item tcp_nodelay=@var{1|0}
+Set TCP_NODELAY to disable Nagle's algorithm. Default value is 0.
+
+@emph{Remark: Writing to the socket is currently not optimized to minimize system calls and reduces the efficiency / effect of TCP_NODELAY.}
+
@end table
For example to read with @command{ffplay} a multimedia resource named