W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2018

[webrtc-pc] RTCRtpContributingSource.audioLevel has different type and range than similar fields in webrtc-stats

From: na-g via GitHub <sysbot+gh@w3.org>
Date: Thu, 11 Jan 2018 22:18:15 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-287943874-1515709094-sysbot+gh@w3.org>
na-g has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCRtpContributingSource.audioLevel has different type and range than similar fields in webrtc-stats  ==
The [audioLevel](https://w3c.github.io/webrtc-pc/#dom-rtcrtpcontributingsource-audiolevel) field of RTCRtpContributingSource is a byte with a range range of 0 to 127. The audioLevel field of [RTCRTPContributingSourceStats](https://w3c.github.io/webrtc-stats/#dom-rtcrtpcontributingsourcestats-audiolevel) and [RTCAudioStreamTrackStats](https://w3c.github.io/webrtc-stats/#dom-rtcaudiostreamtrackstats-audiolevel) are doubles with a range of 0.0 to 1.0. Is there compelling reason that RTCRtpContributingSource.audioLevel should differ in this regard? Should the same transform noted in the fields in the audioLevel fields webrtc-stats be applied to RTCRtpContributingSource.audioLevel so that they are directly comparable? 

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1734 using your GitHub account
Received on Thursday, 11 January 2018 22:18:17 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 11 January 2018 22:18:19 UTC