]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Use PJ_ICE_MAX_CAND instead of hard-coding 16 55/4955/1
authorSean Bright <sean.bright@gmail.com>
Wed, 15 Feb 2017 17:03:00 +0000 (12:03 -0500)
committerSean Bright <sean.bright@gmail.com>
Wed, 15 Feb 2017 17:13:35 +0000 (12:13 -0500)
commita5e806de08648f31f41cb5de382466fb87149e3c
treefe46ee733911e3ce1e6fa1dc55213012dbd2054f
parent5b308afa6061a1dcc25bd840024b7d236b654bd8
res_rtp_asterisk: Use PJ_ICE_MAX_CAND instead of hard-coding 16

pjsip limits the total number of ICE candidates to PJ_ICE_MAX_CAND,
which is a compile-time constant. Instead of hard-coding 16 when we
enumerate local interfaces, use PJ_ICE_MAX_CAND so that we can
potentially collect more interfaces if the compile time options are
changed.

Tangentially related to ASTERISK~24464

Change-Id: I1b85509e39e33b1fed63c86261fc229ba14bbabd
res/res_rtp_asterisk.c