Make ScreenCapturerSck crop frames, reconfigure on source size changes, and other improvements To prepare for handling other sources than just screens, e.g. single-window, multi-window, and any source with presenter-overlay, this commit mainly does: - crops incoming frames to the bounding rect - reconfigure the capturer on the first CaptureFrame after receiving a frame where the source had to be scaled down because the configured size was too small - avoid handling an incoming frame if there was no change to its content Bug: webrtc:367915807 Change-Id: Ia5e1b3fe82628eadc8d6ec96230ce2ca8e98c603 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/365092 Reviewed-by: Johannes Kron <kron@webrtc.org> Commit-Queue: Andreas Pehrson <apehrson@mozilla.com> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#44354}
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.