git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7832 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-03-07 19:17:10 +00:00
parent 07e97a25d3
commit e7de4f2f3d
1 changed files with 1 additions and 0 deletions

View File

@ -1280,6 +1280,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
} }
if (check) { if (check) {
do_2833(rtp_session);
if (!bytes && rtp_session->max_missed_packets) { if (!bytes && rtp_session->max_missed_packets) {
if (++rtp_session->missed_count >= rtp_session->max_missed_packets) { if (++rtp_session->missed_count >= rtp_session->max_missed_packets) {
ret = -2; ret = -2;