webrtc-internals: fix timestamp conversion and delta calculation the stats rates calculator (surprisingly) assumed the stats timestamps were in seconds due to the conversion done by https://chromium-review.googlesource.com/c/chromium/src/+/6917904/5/content/browser/webrtc/resources/stats_rates_calculator.js#b117 while the spec stats use DOMHighresTimestamp (i.e. milliseconds). This led to wrong calculations and missing deltas. Also ignore NaN results in augmented stats reports from types for which the calculated values do not apply. Regression from https://chromiumdash.appspot.com/commit/661de127ee2777f0bf412b384519ca56a7b6315d Bug: chromium:417262733 Change-Id: I6441a7e7112529f2c7a8ad5563bb870485430891 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7003814 Reviewed-by: Henrik Boström <hbos@chromium.org> Reviewed-by: Guido Urdaneta <guidou@chromium.org> Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com> Cr-Commit-Position: refs/heads/main@{#1525542}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.