send 2 firs to make sure it works

This commit is contained in:
Anthony Minessale 2013-07-17 12:46:10 -05:00
parent 615e2691a9
commit 8253bab19d

View File

@ -5273,7 +5273,9 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_zerocopy_read_frame(switch_rtp_t *rtp
}
if (rtp_session->fir_countdown) {
if (--rtp_session->fir_countdown == FIR_COUNTDOWN / 2) {
rtp_session->fir_countdown--;
if (rtp_session->fir_countdown == FIR_COUNTDOWN / 2 || rtp_session->fir_countdown == 0) {
send_fir(rtp_session);
//send_pli(rtp_session);
}