commit | ccbc216ac5e269ad5481d2f169709fe937003ab1 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Wed Nov 11 12:20:12 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 11 14:27:52 2020 |
tree | ab3b428098694fa3b37c3c09340605bc377456f3 | |
parent | 06bbeb3398afa8651ca76ea7eb56b7d046edfca8 [diff] |
Avoids potential rounding of -inf time delta in TaskQueuePacedSender. This rounding triggers a dcheck that crashes debug builds. Furtunately, in release mode this does not matter as the resulting value is anyway capped to 0. Unfortunately, it is almost impossible to write a test for this even with simulated time as the conditions needed to trigger this condition includes thread scheduling being slightly off in such a way that an unscheduled process call preempts a scheduled one at a time when sending a sufficiently large padding packet becomes possible - and right after starting a new probe cluster. We should consider updating this class to make unit testing easier. Bug: webrtc:10809 Change-Id: I533e6e716bddc106d11e82a9e3edb4e0035fd21c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/192786 Reviewed-by: Per Kjellander <perkj@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32589}
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.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.