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

Thilo Borgmann thilo.borgmann at mail.de
Wed Jun 9 13:53:00 EEST 2021


Am 09.06.21 um 12:45 schrieb Steinar H. Gunderson:
> On Wed, Jun 09, 2021 at 12:41:17PM +0200, Nicolas George wrote:
>> (TCP_NODELAY is a terrible hack for a terrible API design. An explicit
>> flush system call would have been a much better choice.)
> 
> If you want explicit flush, you can enable TCP_CORK (but it's Linux-only).
> Disable for the flush.

Platform dependency sounds even worse. I'm looking into reducing system calls.

Thanks,
Thilo



More information about the ffmpeg-devel mailing list