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

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

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Jan 2018 00:45:30 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-358156968-1516149929-sysbot+gh@w3.org>
That's how it's encoded in the RTP packet, in the interest of saving space, but it can easily be converted to the 0.0-1.0 range for consistency. I don't think an application developer would care much about getting raw information from an RTP packet, they'd care about getting usable information. And if you really want 0-127 values, you can do some math to convert to them.

GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1734#issuecomment-358156968 using your GitHub account
Received on Wednesday, 17 January 2018 00:45:34 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:43 UTC