commit | 51e60305e622f9156d37cb1f487bd4260d5ce410 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Fri Jun 10 22:13:21 2016 +0200 |
committer | Erik Språng <sprang@webrtc.org> | Fri Jun 10 20:13:33 2016 +0000 |
tree | ddd3cbc68ee5026965f6f52e95f2e905cd9644dd | |
parent | 733b5478dd7a150cafa0e5796519ed89d43a78e6 [diff] |
Update RateStatistics to handle too-little-data case. To avoid the case where a single data point or too short window is used, causing bad behavior due to bad stats, update RateStatistics to return an Optional rather than a plain rate. There was also a strange off by one bug where the rate was slightly overestimated (N + 1 buckets, N ms time window). These changes requires updates to a number of places, and may very well cause seeming perf regressions (but the stats were probablty more wrong previously). BUG= R=mflodman@webrtc.org, stefan@webrtc.org Review URL: https://codereview.webrtc.org/2029593002 . Cr-Commit-Position: refs/heads/master@{#13103}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.