commit | 7f1583c9214173f67b3c7f70c7fce7f5846142d1 | [log] [tgz] |
---|---|---|
author | braveyao <braveyao@webrtc.org> | Wed May 30 16:48:56 2018 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 31 17:07:16 2018 +0000 |
tree | 3ce3841176555e20ab1705584e977f4ab5764fcf | |
parent | 435187d18d8e72b046458fb7fc2c9cd10495e4c7 [diff] |
[desktopCapture Windows] ignore Chrome notification window on top Chrome uses Windows native framework to show the notification of the ongoing presenting. This notification window is enumerated as a separated window which is on top most. If this window blocks the target window, Chrome can't do the cropping and has to switch to GDI methods. If GDI methods can't capture the target window, then capturing will fail until the notification is dismissed. It's hard to identify the notification window in EnumWindows() callback. So far it works if we ignore window with no title and class name prefixed with "Chrome_WidgetWin_" and with certain extended styles, as so does in this CL. Bug: chromium:847664 Change-Id: Iafabcb1f685adb91bf092475642151e1475cdf61 Reviewed-on: https://webrtc-review.googlesource.com/79742 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Brave Yao <braveyao@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23474}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.