commit | 2a3eb9f367a70e2f5060d9dea6edd5ccd326de61 | [log] [tgz] |
---|---|---|
author | erikchen <erikchen@chromium.org> | Tue Nov 15 18:24:43 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Nov 15 18:24:53 2016 |
tree | 8fff77c6e29118e037982335ee8012af98a72275 | |
parent | 5d54e185d50a3a177676168486af402f287feca7 [diff] |
mac: Fix screen capture on secondary displays. The old API CGScreenRegisterMoveCallback returned update rects in desktop coordinates [secondary display has an origin != 0,0]. The new CGDisplayStream API returns update rects in display coordinates [origin == 0,0]. Translating the update rect based on the display's position on the desktop is now incorrect. BUG=webrtc:6702 Review-Url: https://codereview.webrtc.org/2496413002 Cr-Commit-Position: refs/heads/master@{#15092}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.