diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2023-05-16 17:38:26 +0200 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2023-05-16 17:38:26 +0200 |
commit | f456747e778c6b84b51d80def18b9320074c015c (patch) | |
tree | 3e15c5fbdcb435242055ff9b6b516f709bebbee1 /agent/agent-priv.h | |
parent | f3688cf286be5776e04204b742a176926079983f (diff) | |
download | libnice-master.tar.gz |
Using a value of 10 seconds instead of 30 as specified, along with the
request interval of 4 to 6 seconds, meant the connection state could go
to failed when a single response was missing or delayed.
Diffstat (limited to 'agent/agent-priv.h')
-rw-r--r-- | agent/agent-priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/agent-priv.h b/agent/agent-priv.h index 4ac7739..e72eed9 100644 --- a/agent/agent-priv.h +++ b/agent/agent-priv.h @@ -107,7 +107,7 @@ nice_input_message_iter_compare (const NiceInputMessageIter *a, #define NICE_AGENT_TIMER_TA_DEFAULT 20 /* timer Ta, msecs (impl. defined) */ #define NICE_AGENT_TIMER_TR_DEFAULT 25000 /* timer Tr, msecs (impl. defined) */ #define NICE_AGENT_TIMER_CONSENT_DEFAULT 5000 /* msec timer consent freshness connchecks (RFC 7675) */ -#define NICE_AGENT_TIMER_CONSENT_TIMEOUT 10000 /* msec timer for consent checks to timeout and assume consent lost (RFC 7675) */ +#define NICE_AGENT_TIMER_CONSENT_TIMEOUT 30000 /* msec timer for consent checks to timeout and assume consent lost (RFC 7675) */ #define NICE_AGENT_TIMER_MIN_CONSENT_INTERVAL 4000 /* msec timer minimum for consent lost requests (RFC 7675) */ #define NICE_AGENT_TIMER_KEEPALIVE_TIMEOUT 50000 /* msec timer for keepalive (without consent checks) to timeout and assume conection lost */ #define NICE_AGENT_MAX_CONNECTIVITY_CHECKS_DEFAULT 100 /* see RFC 8445 6.1.2.5 */ |