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

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