mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-09 14:09:56 +00:00
send 2 firs to make sure it works
This commit is contained in:
parent
615e2691a9
commit
8253bab19d
@ -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) {
|
||||||
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_fir(rtp_session);
|
||||||
//send_pli(rtp_session);
|
//send_pli(rtp_session);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user