diff options
author | Aman Gupta <aman@tmm1.net> | 2017-11-13 12:20:18 -0800 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2017-11-17 10:48:55 -0800 |
commit | 80bb81a8f34729443bdbcdb3bc2c89c221291fe6 (patch) | |
tree | 546aaf82c1ad431bfc096c6a1ea882af3b872056 /libavformat/network.h | |
parent | ce001bb8fc6677541c401a614e05e5058d58dde1 (diff) | |
download | ffmpeg-80bb81a8f34729443bdbcdb3bc2c89c221291fe6.tar.gz |
avformat/tcp: add option to enable TCP_NODELAY
This can reduce latency and increase throughput, particularly on high
latency networks.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Reviewed-by: Jeyapal, Karthick <kjeyapal@akamai.com>
Diffstat (limited to 'libavformat/network.h')
-rw-r--r-- | libavformat/network.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h index f83c796a95..b78e3ad6ed 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -59,6 +59,7 @@ int ff_neterrno(void); #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> +#include <netinet/tcp.h> #include <netdb.h> #define ff_neterrno() AVERROR(errno) |