mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-17 14:11:31 +00:00
check the jitter stats after the jitter buffer when its enabled
This commit is contained in:
parent
d5760e0d6a
commit
8cee05987e
@ -4466,13 +4466,13 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t
|
|||||||
rtp_session->missed_count = 0;
|
rtp_session->missed_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!rtp_session->jb || rtp_session->pause_jb || !jb_valid(rtp_session)) {
|
||||||
if (*bytes > rtp_header_len && (rtp_session->recv_msg.header.version == 2 && check_recv_payload(rtp_session))) {
|
if (*bytes > rtp_header_len && (rtp_session->recv_msg.header.version == 2 && check_recv_payload(rtp_session))) {
|
||||||
xcheck_jitter = *bytes;
|
xcheck_jitter = *bytes;
|
||||||
check_jitter(rtp_session);
|
check_jitter(rtp_session);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (check_rtcp_and_ice(rtp_session) == -1) {
|
if (check_rtcp_and_ice(rtp_session) == -1) {
|
||||||
return SWITCH_STATUS_GENERR;
|
return SWITCH_STATUS_GENERR;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user