]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Allow setting threshold for RTP auto adjust
authorTravis Cross <tc@traviscross.com>
Wed, 16 Jul 2014 00:25:56 +0000 (00:25 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 16 Jul 2014 01:32:18 +0000 (01:32 +0000)
commit3526ca5cb5f5a960ae0b10e8f0e2187353228b60
tree853467a07dcc84b0607d2a4aef169f7109b48d53
parent4042571003f64a368e8465ddb24de77fedaaeca6
Allow setting threshold for RTP auto adjust

If we see a certain number of RTP packets from a host and port other
than was negotiated, we adjust to send our RTP to that host and port.
Traditionally we've waited for 10 packets.  This commit makes the
threshold adjustable by setting the channel variable
`rtp_auto_adjust_threshold` to any positive value less than 2^16.
src/switch_rtp.c