flush audio on reset of auto-adjust

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15282 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-10-30 00:16:36 +00:00
parent fad61e2aaf
commit 0929875fac
2 changed files with 3012 additions and 0 deletions

View File

@ -1528,6 +1528,7 @@ SWITCH_DECLARE(void) switch_rtp_set_flag(switch_rtp_t *rtp_session, switch_rtp_f
if (flags & SWITCH_RTP_FLAG_AUTOADJ) {
rtp_session->autoadj_window = 20;
rtp_session->autoadj_tally = 0;
rtp_flush_read_buffer(rtp_session, SWITCH_RTP_FLUSH_ONCE);
}
}

3011
switch_rtp.c Normal file

File diff suppressed because it is too large Load Diff