Re: [webrtc-stats] RTCAudioSourceStats.audioLevel - what algorithm described in totalAudioEnergy? (#757)

> Is it that you expect user agents to calculate the value by doing something like: Math.sqrt((energy2 - energy1)/(duration2 - duration1)) using whatever duration they wish?

Yeah pretty much. I'm honestly not sure the implementations use the same algorithms in practise, but the idea is that this is a snapshot of something you could have calculated yourself over a short time interval

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/757#issuecomment-1541865719 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 May 2023 10:13:35 UTC