W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2017

Re: [webrtc-stats] RTCMediaStreamTrackStats.audioLevel clarification

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Oct 2017 03:33:03 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-339541166-1508988781-sysbot+gh@w3.org>
> We have totalAudioEnergy defined now, which is computable. Is it possible to define audioLevel in terms of a computation over totalAudioEnergy?

Is `audioLevel`'s definition clear enough to answer that? I'm not sure if it's intended to represent the value from the last received packet, or from the last 10ms chunk of audio output, or something else. Chrome's implementation is "maximum sample value from last 10ms chunk of audio", which is almost certainly not the intention... 

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/193#issuecomment-339541166 using your GitHub account
Received on Thursday, 26 October 2017 03:33:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:56 UTC