commit | cf4c872dbd4e45f194c81aee4a807b7ab6b85218 | [log] [tgz] |
---|---|---|
author | Per Åhgren <peah@webrtc.org> | Mon Dec 30 14:32:14 2019 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 02 15:45:14 2020 +0000 |
tree | 316ccb12ff916b958cd48de3538b3fff828ed5ba | |
parent | a43777dead46df4575a58c5ca2733c5f3ff0212b [diff] |
APM: Make the GetStatistics call independent of the locks in APM This CL changes the GetStatistics call in the audio processing module (APM) to not aquire the render or capture locks in APM, while still being thread-safe. This change eliminates the risk of thread-priority inversion due to the GetStatistics call. Apart from the above the CL: -Corrects the GetStatistics to not be const (it was const even though it aquired locks). -Slightly changes the statistics reporting, so that the stats received may be older than the most recent stats reported. Bug: webrtc:11241 Change-Id: I00deb5507e004cbe6e4a19a8bad357491f86f4ab Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/163982 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30131}
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.