]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: Limit number of formats to defined maximum. 66/4266/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 11:56:24 +0000 (11:56 +0000)
commit69196a8db4367116144bae6ac7e43f5df573ec11
treef3c4ea40114db14698b50bbb6e2a473fabe3ac8e
parent201f21e0e567c53c51601d5903999f538ce84178
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