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

Nicolas George george at nsup.org
Wed Jun 9 13:56:40 EEST 2021


Steinar H. Gunderson (12021-06-09):
> If you want explicit flush, you can enable TCP_CORK (but it's Linux-only).
> Disable for the flush.

Interesting thanks. I wonder why they did it like this, requiring two
extra system calls for each flush; a flag on send would have served
without extra system calls.

But as Thilo pointed, we cannot accept something so non-portable.
Optimizing the writing code is the way to go.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210609/f15a21da/attachment.sig>


More information about the ffmpeg-devel mailing list