diff --git a/.gitignore b/.gitignore index a3589c66f..ec197ac7d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -pjlib/include/pj/config_site.h lib/ bin/ output/ diff --git a/pjlib/include/pj/config_site.h b/pjlib/include/pj/config_site.h new file mode 100644 index 000000000..ba81c7f4d --- /dev/null +++ b/pjlib/include/pj/config_site.h @@ -0,0 +1,26 @@ +#include "config_site_sample.h" + +/* +* PJLIB settings. +*/ +#define PJ_HAS_IPV6 1 +#define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1 + +/* +* PJSIP settings. +*/ +#define PJSIP_MAX_PKT_LEN 8000 +#define PJSIP_TRANSPORT_SERVER_IDLE_TIME 3 + +/* +* PJNAT settings. +*/ +#define PJ_ICE_MAX_CAND 256 +#define PJ_ICE_ST_MAX_CAND 32 +#define PJ_ICE_MAX_STUN 6 +#define PJ_ICE_MAX_TURN 4 +#define PJ_ICE_COMP_BITS 5 +#define PJ_ICE_MAX_CHECKS 1024 +/* Set permanent permissions on the TURN + server for all peer candidates */ +#define PJ_ICE_ST_USE_TURN_PERMANENT_PERM PJ_TRUE