]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject: Increase maximum SDP formats and attribute limits
authorJoe Searle <joe@dmcip.com>
Thu, 15 May 2025 13:06:29 +0000 (14:06 +0100)
committerJoe Searle <joe@dmcip.com>
Thu, 15 May 2025 15:07:31 +0000 (15:07 +0000)
Since Chrome 136, using Windows, when initiating a video call the INVITE SDP exceeds the maximum number of allowed attributes, resulting in the INVITE being rejected. This increases the attribute limit and the number of formats allowed when using bundled pjproject.

Fixes: #1240
third-party/pjproject/patches/config_site.h

index 38afc021baf7d25c6d112660da494457b81bb1db..a2e493e3aa0a222641281469184752d3ad73c82b 100644 (file)
@@ -84,9 +84,9 @@
 #define PJ_ICE_MAX_CHECKS (PJ_ICE_MAX_CAND * PJ_ICE_MAX_CAND)
 
 /* Increase limits to allow more formats */
-#define        PJMEDIA_MAX_SDP_FMT   64
+#define        PJMEDIA_MAX_SDP_FMT   72
 #define        PJMEDIA_MAX_SDP_BANDW   4
-#define        PJMEDIA_MAX_SDP_ATTR   (PJMEDIA_MAX_SDP_FMT*3 + 4)
+#define        PJMEDIA_MAX_SDP_ATTR   (PJMEDIA_MAX_SDP_FMT*6 + 4)
 #define        PJMEDIA_MAX_SDP_MEDIA   16
 
 /*