commit | f2b06ce5c82dee9874917a235358fb371e23fc96 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Sun Apr 19 09:05:41 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 21 17:09:37 2020 |
tree | fb5739b42d47db410f44d69829ee6837d9f6215e | |
parent | 811efc06df3d102f88b71c7985aeac7feb6e8f9e [diff] |
Reduces unnecessary thread wakeups in TaskQueuePacedSender. This CL is functionally a noop but may reduce thread wakupes in some cases. In particular, consider a send task scheduled for time T. While waiting for that, a higher-priority packet than the top of the current queue is added (e.g. an audio packet), and a send is executed immediately. After sending, it resets the field indicating that a scheduled task is expected at time T. It then polls NextSendTime() and schedules a new task, likely at or very close to T. Causing unnecessary task queue churn and behavior that is more difficult to reason about. Bug: webrtc:10809 Change-Id: Ic5706f2cc06df3f27cc3e7b473d4de29a669473b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173700 Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31116}
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.