diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2016-04-06 10:46:46 +0300 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2016-06-03 18:35:39 -0400 |
commit | 1f532aeb6bf5b5b3042c445e677988f3327b1cb5 (patch) | |
tree | 09991344de4a1a7a80dd66a4ea6304a96329bf8e /agent | |
parent | b5952012bc5b403550f8dd9945d92747323acfc4 (diff) | |
download | libnice-1f532aeb6bf5b5b3042c445e677988f3327b1cb5.tar.gz |
pseudotcp: Set min RTO to 1 second
This is recommended by RFC 6298
Diffstat (limited to 'agent')
-rw-r--r-- | agent/pseudotcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/pseudotcp.c b/agent/pseudotcp.c index cbc1d11..eb2cf4e 100644 --- a/agent/pseudotcp.c +++ b/agent/pseudotcp.c @@ -164,8 +164,8 @@ const guint16 PACKET_MAXIMUMS[] = { #define PACKET_OVERHEAD (HEADER_SIZE + UDP_HEADER_SIZE + \ IP_HEADER_SIZE + JINGLE_HEADER_SIZE) -// MIN_RTO = 250 ms (RFC1122, Sec 4.2.3.1 "fractions of a second") -#define MIN_RTO 250 +// MIN_RTO = 1 second (RFC6298, Sec 2.4) +#define MIN_RTO 1000 #define DEF_RTO 1000 /* 1 seconds (RFC 6298 sect 2.1) */ #define MAX_RTO 60000 /* 60 seconds */ #define DEFAULT_ACK_DELAY 100 /* 100 milliseconds */ |