commit | 740d7040796ae259ae55cb3ba1b9d423535cfac3 | [log] [tgz] |
---|---|---|
author | Austin Orion <auorion@microsoft.com> | Thu Apr 14 20:35:54 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 14 21:46:29 2022 |
tree | fd5670d1eb35fcfbc4fb1684a4ae5169878d30d1 | |
parent | d2293265785a1948d1dafb162e6cee1a4ffa4fe1 [diff] |
Update IsMonitorValid to return false when no displays are found. Versions of Windows before Win11 will crash when `CreateForMonitor` is called, but the system has no attached displays. This can be avoided by adding a check to ensure at least one display is found before we return true in `IsMonitorValid`. Previously we would early return `true` if the "monitor" we were checking was the `kFullDesktopScreenId`. Bug: chromium:1316478 Change-Id: I2562fe3834db574cf3706ee1d604472ac03f9ff3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258920 Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Austin Orion <auorion@microsoft.com> Cr-Commit-Position: refs/heads/main@{#36555}
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.