[FFmpeg-devel] [PATCH] avformat/tcp: enable TCP_NODELAY by default
Aman Gupta
aman at tmm1.net
Mon Nov 13 22:43:11 EET 2017
On Mon, Nov 13, 2017 at 12:37 PM, Nicolas George <george at nsup.org> wrote:
> Le tridi 23 brumaire, an CCXXVI, Aman Gupta a écrit :
> > From: Aman Gupta <aman at tmm1.net>
> >
> > ---
> > libavformat/network.h | 1 +
> > libavformat/tcp.c | 5 +++++
> > 2 files changed, 6 insertions(+)
>
> Why?
>
To potentially reduce latency, particularly when using a protocol that
builds on top of tcp like http.
I can disable this option by default if that makes the patch more
palatable. That would preserve the existing behavior, and let users enable
the option if they decide Nagle's algorithm is not a good fit for their use
case.
Aman
>
> Regards,
>
> --
> Nicolas George
>
More information about the ffmpeg-devel
mailing list