commit | 440b4be4b7609680e39898730f76ce2ec5ab3253 | [log] [tgz] |
---|---|---|
author | erikchen <erikchen@chromium.org> | Mon Oct 10 22:18:30 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Oct 10 22:18:35 2016 |
tree | 2c2627fc824850586b798b5b2bbf6b7dcb239aa2 | |
parent | e606a172d495600378baaacbfe84521679453153 [diff] |
Use non-deprecated screen update callbacks. CGRegisterScreenRefreshCallback (and similar) have been replaced by CGDisplayStream. Most of the structure is pretty comparable. The main difference is that a CGDisplayStream needs to be destroyed asynchronously, potentially after ScreenCapturerMac has been destroyed. This CL creates a self-owned DisplayStreamManager which will destroy itself once all streams have been destroyed. BUG=webrtc:6029 Review-Url: https://codereview.webrtc.org/2391743004 Cr-Commit-Position: refs/heads/master@{#14590}
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.