mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-13 15:51:50 +00:00
send 2 firs to make sure it works
This commit is contained in:
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user