Skip to content

Commit

Permalink
add config_site.h
Browse files Browse the repository at this point in the history
Custom configurations employed for the DHTNet library and the Jami project.

Change-Id: I52be8011c98bef18d379b1a96e84c16fa114cc44
  • Loading branch information
AmnaSnene committed Dec 13, 2023
1 parent 311bd01 commit 235ae6e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pjlib/include/pj/config_site.h
lib/
bin/
output/
Expand Down
26 changes: 26 additions & 0 deletions pjlib/include/pj/config_site.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 235ae6e

Please sign in to comment.