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

Steinar H. Gunderson steinar+ffmpeg at gunderson.no
Wed Jun 9 13:45:17 EEST 2021


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.

/* Steinar */
-- 
Homepage: https://www.sesse.net/


More information about the ffmpeg-devel mailing list