commit | 7f775bc94c0b5b4329b4dd5ec2d9ea66161ce789 | [log] [tgz] |
---|---|---|
author | Johannes Kron <kron@webrtc.org> | Tue Nov 12 12:31:06 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 18 14:17:22 2024 |
tree | 12372c06490f9ed8d3c03cbb3c233911de2b3151 | |
parent | 17554c1c4ce06f4aec3d4d49b11efc23bbb7f3ab [diff] |
Ensure accurate FPS calculation for low frame rates When receiving streams with frame rates around 1 fps, the decode and render fps were incorrectly reported as 0, even though frames were being decoded successfully. This commit addresses the issue by adjusting the calculation in RateStatistics to better handle streams with frame intervals that are close to the window size. 1 fps streams are an important special case that occur frequently in in screen share scenarios. Fixed: webrtc:354625675 Change-Id: I1362768229a3abab5929220ba4bbd5ccb06a33d2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/368080 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Johannes Kron <kron@webrtc.org> Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43417}
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.