From: Joe Searle Date: Thu, 15 May 2025 13:06:29 +0000 (+0100) Subject: pjproject: Increase maximum SDP formats and attribute limits X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5ea528ca65884d3ae3a533d8291470eb9cb921;p=thirdparty%2Fasterisk.git pjproject: Increase maximum SDP formats and attribute limits 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 --- diff --git a/third-party/pjproject/patches/config_site.h b/third-party/pjproject/patches/config_site.h index 38afc021ba..a2e493e3aa 100644 --- a/third-party/pjproject/patches/config_site.h +++ b/third-party/pjproject/patches/config_site.h @@ -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 /*