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

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