| commit | 9aa4278cf59fd1b6a4076046253df9a72713e170 | [log] [tgz] |
|---|---|---|
| author | Henrik Boström <hbos@webrtc.org> | Tue Aug 26 12:15:36 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 27 05:13:07 2025 |
| tree | a5e6043eed2fbbca47327b7b59a83446a4163314 | |
| parent | 4bafeff6ae5b8658c2b0e5899e0c3289e800e2e9 [diff] |
Fix simulcast stats bug with missing outbound-rtps. If simulcast is negotiated, we should see all SSRCs' outbound-rtps. The bug is that if "substreams" have not been populated yet because we have not started sending yet (e.g. ICE not connected), we return a single dummy "info" object. This CL updates this early return path by correctly setting the metrics that should always be present: ssrc, rid, encodingIndex and active. Packet counters and other stuff will be zero which makes sense prior to sending. Full stack test in peer_connection_encodings_integrationtest.cc. The code path that is changed no longer copies frames_encoded, total_encode_time_ms, total_encoded_bytes_target, frames_sent and huge_frames_sent which require us to update some expectations in webrtc_video_engine_unittest.cc. We should not copy these because outside of testing these would all be zero before sending and after sending, substreams exist making this code path N/A. Bug: chromium:406585888 Change-Id: I2f7ad8c147254c69510c396b8736d8bb9293db4e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/406280 Commit-Queue: Henrik Boström <hbos@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45447}
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.