From 465d368e187b3d0410590964eea8686da828e7f9 Mon Sep 17 00:00:00 2001
From: aviau <alexandre@alexandreviau.net>
Date: Thu, 10 Aug 2017 13:58:04 -0400
Subject: [PATCH] ice_config.patch: add patch description

Change-Id: Iaf40ae5403ec29944e7f82628e0faeb74ef124b9
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
---
 contrib/src/pjproject/ice_config.patch | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/contrib/src/pjproject/ice_config.patch b/contrib/src/pjproject/ice_config.patch
index 0bc2e43292..cd07ea9641 100644
--- a/contrib/src/pjproject/ice_config.patch
+++ b/contrib/src/pjproject/ice_config.patch
@@ -1,3 +1,22 @@
+Description:
+ Increase PJ_ICE_MAX_CAND to 256. Upstream's default, 16, is
+ not enough to handle cases with numerous local/remote candidates
+ like the case when multiple hosts in IPv6 and IPv4 exists.
+ Tests show that 40 entries are needed with 5 local host IPs.
+ .
+ Increase PJ_ICE_MAX_CHECKS, which would be way too low for the
+ number of candidates.
+ .
+ Increase PJ_ICE_MAX_STUN to 3:
+  - One for IPv4
+  - One for IPv6
+  - One set by the user
+ .
+ Increase PJ_ICE_COMP_BITS so that we can have more components:
+  - 2 Audio components
+  - 2 Video components
+Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
+
 --- a/pjnath/include/pjnath/config.h
 +++ b/pjnath/include/pjnath/config.h
 @@ -233,3 +233,3 @@
-- 
GitLab