Synchronize final stats collection in E2E quality tests The PeerConnectionE2EQualityTest framework previously lost final metrics, such as payload_bytes_received, because it did not wait for asynchronous RTCStatsCollector::GetStats() calls to complete during test teardown. This change ensures all stats are captured by: - Tracking pending asynchronous requests in InternalStatsObserver using a counter and a new IsPolling() method. - Implementing a synchronization point in the test runner that uses the time controller to wait until StatsPoller reports no active polling. - Adding an optional polling delay to StatsPoller to help simulate and verify fixes for race conditions in asynchronous stat delivery. Bug: webrtc:481443652 Change-Id: Ie689bdab4843780c765e8ffd2668d63863328026 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/461000 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47295}
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.