Skip to content
Snippets Groups Projects
Commit 8b3399e8 authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

sip_transport: change idle_timeout to 10 seconds

ICE sessions take a long time to be closed and keep alive packets
are sent during 10 minutes. Change the timeout to close the session
after 10 seconds.

Change-Id: I7cd287551a9aa76b475cf765a941cc6bcb72f55b
Gitlab: #108
parent e83a1006
No related branches found
No related tags found
No related merge requests found
pjsip/include/pjsip/sip_config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
pjsip/include/pjsip/sip_config.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h
index 904df24e..987ff41d 100644
index 904df24e..f36b2d6a 100644
--- a/pjsip/include/pjsip/sip_config.h
+++ b/pjsip/include/pjsip/sip_config.h
@@ -359,7 +359,7 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void)
......@@ -12,3 +12,12 @@ index 904df24e..987ff41d 100644
-# define PJSIP_MAX_PKT_LEN 4000
+# define PJSIP_MAX_PKT_LEN 8000
#endif
@@ -658,7 +658,7 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void)
* Default: 600
*/
#ifndef PJSIP_TRANSPORT_SERVER_IDLE_TIME
-# define PJSIP_TRANSPORT_SERVER_IDLE_TIME 600
+# define PJSIP_TRANSPORT_SERVER_IDLE_TIME 10
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment