commit | 998524a08e085f3180740642946a489a74b520e9 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Fri May 29 14:13:32 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 29 16:27:34 2020 |
tree | 827bbeec7e85c459a6c7e507e8803d18a2b6e339 | |
parent | 743b9b258c4eda14ce0e13ee80873fcd3ca2aafb [diff] |
Fixes issue with excessive stats updating in TaskQueuePacedSender. TaskQueuePacedSender::MaybeUpdateStats() is intended to be called when packets are sent or by a sequence of "scheduled" calls. There should only be one scheduled call in flight at a time - and that one reschedules itself if needed when it runs. A bug however caused the "schedules task in flight" flag to incorrectly be set to false, leading to more and more schedules tasks being alive - eating CPU cycles. This CL fixes that and also makes sure the queue time properly goes down to zero before the next idle interval check, even if there are no more packets to send. Bug: webrtc:10809 Change-Id: I4e13fcf95619a43dcaf0ed38bce9684a5b0d8d5e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176330 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31390}
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.