commit | 2e3e36312b10b8711c467e7bdc4582c01914e4d0 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Sat Apr 04 11:13:36 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Apr 04 12:23:21 2020 |
tree | 2a500ed412952d35838b93da79ec376fb2db8e45 | |
parent | e8e12250f4d0f5b6a9664b288d20eebb1914cc5c [diff] |
Adds fast-path optimization for single packet in pacer queue. Especially with the TaskQueuePacerSender, it is very common that a single packet is added to the queue and then immediately removed as it gets sent to the network. This CL adds a fast-path for that case, that avoid creating book- keeping in the form of stream-priorities and timestamp sets etc. Functionally, it should be a noop, but hopefully it can save a few CPU cycles. Bug: webrtc:10809 Change-Id: Idaa06b4f8d1da444fce78cc742e2ab52f9efe815 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172090 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31001}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.