Merge pull request #1028 in FS/freeswitch from ~J0SH/freeswitch:pt-match2 to master

* commit '4a15d0a3c3e472c62e99f44e00ba5f3abeceeb8e':
  FS-9654: Fix RTP packet drops
This commit is contained in:
Anthony Minessale II 2016-10-28 10:09:11 -05:00
commit 0ea523f11b
1 changed files with 1 additions and 1 deletions

View File

@ -6841,7 +6841,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
continue;
}
if (rtp_session->last_rtp_hdr.pt == pmap->pt) {
if (rtp_session->last_rtp_hdr.pt == pmap->recv_pt) {
accept_packet = 1;
if (pmapP) {
*pmapP = pmap;