Refactor RTCStatsCollector to have a CollectionContext Encapsulates state variables used during a stats gathering session into a new internal `CollectionContext` struct. Previously, these variables were stored as member variables of `RTCStatsCollector`, despite implicitly having a shorter lifecycle, associated with the stats gathering operation (only being valid for the duration of an asynchronous getStats call). This change makes further improvements to remove blocking calls simpler. Bug: webrtc:42222804 Change-Id: I98b2a0f408138d5a65afcee0da8a37eea0cc37bb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/443380 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46732}
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.