Merge "Bundled PJPROJECT: Disable internal connection oriented keep-alive."

This commit is contained in:
George Joseph
2018-07-13 13:11:50 -05:00
committed by Gerrit Code Review

View File

@@ -79,3 +79,11 @@
#define PJMEDIA_MAX_SDP_BANDW 4 #define PJMEDIA_MAX_SDP_BANDW 4
#define PJMEDIA_MAX_SDP_ATTR (PJMEDIA_MAX_SDP_FMT*2 + 4) #define PJMEDIA_MAX_SDP_ATTR (PJMEDIA_MAX_SDP_FMT*2 + 4)
#define PJMEDIA_MAX_SDP_MEDIA 16 #define PJMEDIA_MAX_SDP_MEDIA 16
/*
* Turn off the periodic sending of CRLNCRLN. Default is on (90 seconds),
* which conflicts with the global section's keep_alive_interval option in
* pjsip.conf.
*/
#define PJSIP_TCP_KEEP_ALIVE_INTERVAL 0
#define PJSIP_TLS_KEEP_ALIVE_INTERVAL 0