]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: Limit number of formats to defined maximum. 67/4267/1
authorJoshua Colp <jcolp@digium.com>
Tue, 1 Nov 2016 11:56:24 +0000 (11:56 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 1 Nov 2016 18:21:03 +0000 (13:21 -0500)
commit5f188bb7a84b5cb065f35d6068b0c800a695a940
tree3f123dbd27e27451ea0019c3baaf5d021dcac0a9
parent42bd70b29f5673ffead10c70cc4096c1410f4144
res_pjsip_sdp_rtp: Limit number of formats to defined maximum.

The res_pjsip_sdp_rtp module did not restrict the number of
formats added to a media stream in the SDP to the defined
limit. If allow=all was used with additional loaded codecs this
could result in the next media stream being overwritten some.

This change restricts the module to limit it to the defined
maximum and also increases the maximum in our bundled pjproject.

ASTERISK-26541 #close

Change-Id: I0dc5f59d3891246cafa2f3df5ec406f088559ee8
res/res_pjsip_sdp_rtp.c
third-party/pjproject/patches/config_site.h