commit | 8856410b6d54b546bdb3185587474f0f9b3a7c2e | [log] [tgz] |
---|---|---|
author | Salman Malik <salmanmalik@chromium.org> | Fri Apr 28 14:34:49 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 28 16:07:00 2023 |
tree | b5ef779fef6d881336fda2c9a098b99116d40109 | |
parent | f5bbb2940e368ce2e5830576202d572ce1db2b49 [diff] |
pipewire capturer: Reduce the amount of copying Improves the capture latency by reducing the amount of copying needed from the frame. We keep track of the damaged region of previous frame and union it with the damaged region of this frame and only copy this union of the frame over. X11 capturer already has such synchronization in place. The change is beneficial especially when there are small changes on the screen (e.g. clock ticking). For a 4k screen with 128 cores, I observed the capture latencies drop from 5 - 8 ms to 0 ms when the system is left idle. This is in line with the X11 capturer. Bug: chromium:1291247 Change-Id: Iffb441f9e1902d2658031f5f35b5372ee8e94073 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299720 Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Salman Malik <salmanmalik@chromium.org> Cr-Commit-Position: refs/heads/main@{#39968}
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.