[FFmpeg-devel] [PATCH] lavf/rtmp: Add option to set TCP_NODELAY for rtmp

Thilo Borgmann thilo.borgmann at mail.de
Fri Jun 11 22:10:07 EEST 2021


Am 11.06.21 um 21:07 schrieb Thilo Borgmann:
> Hi,
> 
>> $subject seems to be useful depending on the network.
> 
> v2 attached with updates to documentation and code.
> Please check if I missed the point of it.

Follow-up to add the remark also to TCP documentation.

-Thilo
-------------- next part --------------
From 69e6fb2acab42811c442eddafd86a82d00ee4abb Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Fri, 11 Jun 2021 21:03:20 +0200
Subject: [PATCH 2/2] doc/protocols: Add remark about TCP_NODELAY to
 documentation of TCP

---
 doc/protocols.texi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index 6b5a9cf..ccdfb6e 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1728,6 +1728,8 @@ Set send buffer size, expressed bytes.
 @item tcp_nodelay=@var{1|0}
 Set TCP_NODELAY to disable Nagle's algorithm. Default value is 0.
 
+ at emph{Remark: Writing to the socket is currently not optimized to minimize system calls and reduces the efficiency / effect of TCP_NODELAY.}
+
 @item tcp_mss=@var{bytes}
 Set maximum segment size for outgoing TCP packets, expressed in bytes.
 @end table
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list