commit | bb005b6b9695a34ea5ffb1af8f991e93b0b09b31 | [log] [tgz] |
---|---|---|
author | Julien Isorce <julien.isorce@chromium.org> | Wed Apr 11 22:21:19 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 12 23:04:58 2018 |
tree | 88ff64710d9859517540a815294db526bbe5d5c9 | |
parent | bbf21a3fd617abb37567a86e65f8ba18b8d64eb2 [diff] |
Make ScreenCapturerMac more robust when using IOSurface The issue is visible when reconfiguring the screen arrangement while sharing the displays. Can sometimes be seen right after starting the screen sharing. Indeed CaptureFrame can be called at any time so TakeLatestFrameForDisplay should always return a valid frame and the call should not empty the internal container. Also add missing teardown in the provider on failure case. Bug: webrtc:8652 Change-Id: Ice151c1da92b9ad2b86ca9368d30d9d21114e53e Reviewed-on: https://webrtc-review.googlesource.com/69420 Commit-Queue: Zijie He <zijiehe@chromium.org> Reviewed-by: Zijie He <zijiehe@chromium.org> Cr-Commit-Position: refs/heads/master@{#22846}
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.