Add settling delay to CroppingWindowCapturer On Windows, DXGI can be slow to update the window position in the screen capture because DWM composition is deferred to vsync. If a window moves immediately before a capture attempt, the screen capture might still show stale pixels from before the move. This CL adds a check in CroppingWindowCapturer::CaptureFrame to detect if the window has moved since the last capture attempt. If a move is detected, we fallback to the window capturer for one frame to allow DWM/DXGI to settle before we attempt screen capture again. Fixed: chromium:518242046 Change-Id: I89dd5cdd30aeb9cca4e2877916dfbeb4aaa612c3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/477921 Reviewed-by: Mark Foltz <mfoltz@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Auto-Submit: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#47899}
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.