mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
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:
parent
fad61e2aaf
commit
0929875fac
@ -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
3011
switch_rtp.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user