[Asterisk-code-review] res_rtp_asterisk: Fix standard deviation calculation (asterisk[16])

Kevin Harwell asteriskteam at digium.com
Mon Mar 29 13:50:11 CDT 2021


Hello George Joseph, Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/15689

to look at the new patch set (#2).

Change subject: res_rtp_asterisk: Fix standard deviation calculation
......................................................................

res_rtp_asterisk: Fix standard deviation calculation

For some input to the standard deviation algorithm extremely large,
and wrong numbers were being calculated.

This patch uses a new formula for correctly calculating both the
running mean and standard deviation for the given inputs.

ASTERISK-29364 #close

Change-Id: Ibc6e18be41c28bed3fde06d612607acc3fbd621f
---
M res/res_rtp_asterisk.c
1 file changed, 67 insertions(+), 99 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/89/15689/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15689
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ibc6e18be41c28bed3fde06d612607acc3fbd621f
Gerrit-Change-Number: 15689
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210329/0e548f55/attachment-0001.html>


More information about the asterisk-code-review mailing list