summaryrefslogtreecommitdiff
path: root/third-party
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-11-02 08:31:02 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-11-02 08:31:02 -0500
commit18974927e5595f589f2c66a93da6e03185a07d65 (patch)
tree39399173401e9efaed16aa1b513565034f10446b /third-party
parent49fe410cc0458bab36978f344ccaec8efe49eb80 (diff)
parent5f188bb7a84b5cb065f35d6068b0c800a695a940 (diff)
Merge "res_pjsip_sdp_rtp: Limit number of formats to defined maximum." into 13
Diffstat (limited to 'third-party')
-rw-r--r--third-party/pjproject/patches/config_site.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/third-party/pjproject/patches/config_site.h b/third-party/pjproject/patches/config_site.h
index 0694f120e..564959d84 100644
--- a/third-party/pjproject/patches/config_site.h
+++ b/third-party/pjproject/patches/config_site.h
@@ -57,3 +57,9 @@
/* Defaults too low for WebRTC */
#define PJ_ICE_MAX_CAND 32
#define PJ_ICE_MAX_CHECKS (PJ_ICE_MAX_CAND * 2)
+
+/* Increase limits to allow more formats */
+#define PJMEDIA_MAX_SDP_FMT 64
+#define PJMEDIA_MAX_SDP_BANDW 4
+#define PJMEDIA_MAX_SDP_ATTR (PJMEDIA_MAX_SDP_FMT*2 + 4)
+#define PJMEDIA_MAX_SDP_MEDIA 16