diff --git a/third-party/pjproject/patches/config_site.h b/third-party/pjproject/patches/config_site.h index 67e3451d0f116394f7b179fdd1bfcde2d5624951..9e897d58ed478aa0fe95c7a95fcc7688fe180848 100644 --- a/third-party/pjproject/patches/config_site.h +++ b/third-party/pjproject/patches/config_site.h @@ -79,3 +79,11 @@ #define PJMEDIA_MAX_SDP_BANDW 4 #define PJMEDIA_MAX_SDP_ATTR (PJMEDIA_MAX_SDP_FMT*2 + 4) #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