commit | cd83ae2d6555ab19458820c04c5ce3a3714b1233 | [log] [tgz] |
---|---|---|
author | Steve Anton <steveanton@webrtc.org> | Thu Apr 08 18:26:04 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 13 17:18:47 2021 |
tree | 0e4a4858d843e1a6c89c6406cf718e9118cadf8c | |
parent | 32347b50bade365c42c676925374a3ee8d26f6ac [diff] |
Speed up FrameCombiner::Combine by 3x There were a couple operations in the mixer which touched AudioFrame data() and mutable_data() getters in a hot loop. These getters have a if (muted) conditional in them which led to inefficient code generation and execution. Profiled using Google Meet with 6 audio-only speaking participants. Meet uses 3 audio receive streams. Before: https://pprof.corp.google.com/user-profile?id=02526c98ca1f60ba7b340b2f5dabb72a&tab=flame&path=18l9q740udb80g1iq9r1c1gv6b9k1cuuq200eztpq0054kuq0 After: https://pprof.corp.google.com/user-profile?id=32a33e5c90c650e013bdf5008d9b5fd3&tab=flame&path=18l9q740udb80g1iq9r1c1gv6b9k1cuuq200eztpq0054kuq0 (Zoomed in on the audio render thread.) Bug: webrtc:12662 Change-Id: If6ecb5de02095b8b0e4938f1a1817b55d388e01a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/214560 Reviewed-by: Per Ã…hgren <peah@webrtc.org> Reviewed-by: Olga Sharonova <olka@webrtc.org> Reviewed-by: Alex Loiko <aleloi@webrtc.org> Commit-Queue: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33712}
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.