File 0009-add-config-site.patch of Package pjproject

From e657b352dba5b23c82fa29028e7ff4eb19a7dd50 Mon Sep 17 00:00:00 2001
From: jrun <darwinskernel@gmail.com>
Date: Thu, 27 Feb 2020 13:44:47 -0500
Subject: [PATCH 9/9] add config site

---
 pjlib/include/pj/config_site.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 pjlib/include/pj/config_site.h

diff --git a/pjlib/include/pj/config_site.h b/pjlib/include/pj/config_site.h
new file mode 100644
index 000000000..47dd40ad5
--- /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                        2
+#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
-- 
2.24.1

openSUSE Build Service is sponsored by