commit | 71b9a581b48a33b98d84a1e40642b638e30b7ed4 | [log] [tgz] |
---|---|---|
author | henrika <henrika@webrtc.org> | Mon Mar 25 09:23:57 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 25 18:37:13 2024 |
tree | 33192160051aef02f047c629b27675cf8cf5cd96 | |
parent | 5928e35abf3ad1f8f87fab21c5de3c426a4be800 [diff] |
WGC capturer now fails with error when source is closed When refactoring the WGC capture path, the check of a closed source had been placed at a level where the notification of a closed source was left without being detected since the error message was never provided to the main WgcCapturerWin::CaptureFrame() which sends the error message up to the client. This trivial change ensures that WgcCapturerWin::CaptureFrame() returns with DesktopCapturer::Result::ERROR_PERMANENT as soon as WgcCaptureSession::OnItemClosed() has been triggered and it will ensure that the WGC capture session stops and that any attached MediaStreamTrack will signal its onended event as expected. Bug: chromium:330863510 Change-Id: I57e44df417c33efa0595fc277cac5429cf539b26 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/344420 Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41963}
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.