From ae5704eb31fd0f78012369f99d504fc817c189fc Mon Sep 17 00:00:00 2001 From: Grzegorz Sluja <grzegorz.sluja@iopsys.eu> Date: Tue, 6 Feb 2024 08:59:05 +0000 Subject: [PATCH] Remove the avg_round_trip_delay rtp_stat The averageRoundTripDelay rtp statistic is calculated by asterisk based on the 'round trip delay' value taken from the VoIP Metrics Report Blocks. Remove it from voicemngr as it is no longer taken from DSP. --- libvoice/libvoice.h | 1 - ubus.c | 1 - 2 files changed, 2 deletions(-) diff --git a/libvoice/libvoice.h b/libvoice/libvoice.h index 0105e14..7100145 100644 --- a/libvoice/libvoice.h +++ b/libvoice/libvoice.h @@ -190,7 +190,6 @@ struct rtp_stats_t { uint16_t local_loss_rate; uint16_t remote_loss_rate; uint32_t max_jitter; - uint32_t avg_round_trip_delay; uint16_t jb_overruns; uint16_t jb_underruns; }; diff --git a/ubus.c b/ubus.c index ce08ffa..95ff9fc 100644 --- a/ubus.c +++ b/ubus.c @@ -779,7 +779,6 @@ static int ubus_request_rtp_stats(struct ubus_context *uctx, struct ubus_object blobmsg_add_u16(&blob, "localLossRate", rtp_stats.local_loss_rate); blobmsg_add_u16(&blob, "remoteLossRate", rtp_stats.remote_loss_rate); blobmsg_add_u32(&blob, "maxJitter", rtp_stats.max_jitter); - blobmsg_add_u32(&blob, "averageRoundTripDelay", rtp_stats.avg_round_trip_delay); blobmsg_add_u16(&blob, "overruns", rtp_stats.jb_overruns); blobmsg_add_u16(&blob, "underruns", rtp_stats.jb_underruns); -- GitLab