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}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.