]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Allow only UDP ICE candidates.
authorJoshua Colp <jcolp@digium.com>
Wed, 8 Oct 2014 18:46:45 +0000 (18:46 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 8 Oct 2014 18:46:45 +0000 (18:46 +0000)
commit0292839ae0f82d44b1032fca86dfa8ae834e02a2
treead48726821729334a848a63685392b6634330e41
parentb32d8b53172141fe9b799378d108891255cc439c
res_rtp_asterisk: Allow only UDP ICE candidates.

The underlying library, pjnath, that res_rtp_asterisk uses for ICE
support does not have support for ICE-TCP. As candidates are
passed through directly to it this can cause error messages to occur
when it receives something unexpected (such as a TCP candidate).
This change merely ignores all non-UDP candidates so they never
reach pjnath.

ASTERISK-24326 #close
Reported by: Joshua Colp
........

Merged revisions 424852 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 424853 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_rtp_asterisk.c