commit | c82f2e1613e394f92c56d14c38b3f9069075039e | [log] [tgz] |
---|---|---|
author | hbos <hbos@webrtc.org> | Mon Sep 05 08:36:50 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 05 08:36:54 2016 |
tree | a4b7a645ea6a3b20ae38c46783f7bba22384ec0e | |
parent | 7a2ce0b73817bfe934062c207bfa638d23c6b809 [diff] |
RTCStatsCollector collecting stats on multiple threads. Changes GetStatsReport to a callback-based function. Stats collection is dispatched to three different stats collecting methods, being invoked asynchronously on the signaling, worker and network threads. The three resulting stats reports are merged into one before returned. The only current stats being collected is on the signaling thread, but a FakeRTCStatsCollector is able to test the multi-threaded and stats-merging behaviors. Future CLs simply have to put their stats collecting code in the appropriate ProducePartialResultsOnFooThread method. BUG=chromium:627816 Review-Url: https://codereview.webrtc.org/2270033004 Cr-Commit-Position: refs/heads/master@{#14064}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.