Skip to content

Commit 235ae6e

Browse files
committed
add config_site.h
Custom configurations employed for the DHTNet library and the Jami project. Change-Id: I52be8011c98bef18d379b1a96e84c16fa114cc44
1 parent 311bd01 commit 235ae6e

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
pjlib/include/pj/config_site.h
21
lib/
32
bin/
43
output/

pjlib/include/pj/config_site.h

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#include "config_site_sample.h"
2+
3+
/*
4+
* PJLIB settings.
5+
*/
6+
#define PJ_HAS_IPV6 1
7+
#define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1
8+
9+
/*
10+
* PJSIP settings.
11+
*/
12+
#define PJSIP_MAX_PKT_LEN 8000
13+
#define PJSIP_TRANSPORT_SERVER_IDLE_TIME 3
14+
15+
/*
16+
* PJNAT settings.
17+
*/
18+
#define PJ_ICE_MAX_CAND 256
19+
#define PJ_ICE_ST_MAX_CAND 32
20+
#define PJ_ICE_MAX_STUN 6
21+
#define PJ_ICE_MAX_TURN 4
22+
#define PJ_ICE_COMP_BITS 5
23+
#define PJ_ICE_MAX_CHECKS 1024
24+
/* Set permanent permissions on the TURN
25+
server for all peer candidates */
26+
#define PJ_ICE_ST_USE_TURN_PERMANENT_PERM PJ_TRUE

0 commit comments

Comments
 (0)