[FFmpeg-devel] [PATCH] avformat/tcp: enable TCP_NODELAY by default

Jeyapal, Karthick kjeyapal at akamai.com
Tue Nov 14 10:11:51 EET 2017


>On 11/14/17, 2:47 AM, "Aman Gupta" <aman at tmm1.net> wrote:
>
>>On Mon, Nov 13, 2017 at 12:37 PM, Nicolas George <george at nsup.org> wrote:
>>
>> Why?
>>
>
>To potentially reduce latency, particularly when using a protocol that
>builds on top of tcp like http.
Yes. Apart from the latency, overall throughput could also
increase in a high latency network with TCP_NODELAY
>
>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.
I think, it is safer to set default as disable. We should modify its callers like 
http or hls etc., to enable this option as per the use-case. 
>
>Aman
>
>
>>
>> Regards,
>>
>> --
>>   Nicolas George
>>




More information about the ffmpeg-devel mailing list