mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-12 17:20:23 +00:00
FS-11635: decrement RTCP counters on duplicate received NACKed packet which is dropped anyway
(affects cum_lost calculation)
This commit is contained in:
parent
a8d7c72084
commit
133b42b1e9
@ -6146,6 +6146,10 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t
|
|||||||
stat = 0;
|
stat = 0;
|
||||||
sbytes = 0;
|
sbytes = 0;
|
||||||
*bytes = 0;
|
*bytes = 0;
|
||||||
|
if (rtp_session->stats.rtcp.pkt_count) {
|
||||||
|
rtp_session->stats.rtcp.period_pkt_count--;
|
||||||
|
rtp_session->stats.rtcp.pkt_count--;
|
||||||
|
}
|
||||||
switch_mutex_unlock(rtp_session->ice_mutex);
|
switch_mutex_unlock(rtp_session->ice_mutex);
|
||||||
goto more;
|
goto more;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user