mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 14:48:22 +00:00
FS-11675: RTCP NACK at start of call too
This commit is contained in:
parent
133b42b1e9
commit
99bd3b3c6e
@ -2073,6 +2073,10 @@ static int check_rtcp_and_ice(switch_rtp_t *rtp_session)
|
|||||||
|
|
||||||
cur_nack[nack_ttl++] = nack;
|
cur_nack[nack_ttl++] = nack;
|
||||||
}
|
}
|
||||||
|
if (nack_ttl) {
|
||||||
|
rtcp_ok = 1;
|
||||||
|
rtcp_fb = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2080,7 +2084,7 @@ static int check_rtcp_and_ice(switch_rtp_t *rtp_session)
|
|||||||
if (rtp_session->rtcp_sent_packets < 4) {
|
if (rtp_session->rtcp_sent_packets < 4) {
|
||||||
rate = 4000;
|
rate = 4000;
|
||||||
} else {
|
} else {
|
||||||
if (rtp_session->pli_count || rtp_session->fir_count || nack_ttl || rtp_session->tmmbr || rtp_session->tmmbn) {
|
if (rtp_session->pli_count || rtp_session->fir_count || rtp_session->tmmbr || rtp_session->tmmbn) {
|
||||||
//switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "MARK BW/FIR ETC %d %d\n", rtp_session->pli_count, rtp_session->fir_count);
|
//switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "MARK BW/FIR ETC %d %d\n", rtp_session->pli_count, rtp_session->fir_count);
|
||||||
rtcp_ok = 1;
|
rtcp_ok = 1;
|
||||||
rtcp_fb = 1;
|
rtcp_fb = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user