Austin Orion 933afdf197 Restrict WGC screen capture to Windows version 20H1 and greater.
The Windows.Graphics.Capture API CreateForMonitor has a bug that was
fixed in 20H1 that causes an exception to be thrown when an HMONITOR
with a value of 0 is provided. This is a valid input used to request
capture of all monitors. To avoid this issue, we can restrict screen
capture using WGC to versions of Windows >=20H1.

Bug: webrtc:13078
Change-Id: Ia66bf2b2738c29813d41e214fdfc1eb96e0a1312
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229140
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Austin Orion <auorion@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#34878}
2021-08-30 19:59:03 +00:00
..
2018-06-19 14:00:39 +00:00
2019-07-08 13:45:15 +00:00
2021-01-29 08:24:43 +00:00
2021-07-30 13:47:50 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2021-04-27 11:38:01 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2021-08-23 11:07:36 +00:00
2021-08-19 15:08:40 +00:00
2020-12-15 13:59:32 +00:00
2019-02-16 11:11:45 +00:00
2019-07-08 13:45:15 +00:00
2019-11-26 14:05:20 +00:00
2021-04-22 13:04:53 +00:00
2019-07-08 13:45:15 +00:00
2021-08-25 10:30:10 +00:00
2021-04-16 08:47:17 +00:00
2021-04-16 08:47:17 +00:00
2019-07-08 13:45:15 +00:00
2020-09-17 13:18:25 +00:00
2021-01-29 08:24:43 +00:00
2021-07-30 13:47:50 +00:00
2021-07-30 13:47:50 +00:00
2018-06-19 14:00:39 +00:00
2021-02-10 15:04:55 +00:00
2019-07-08 13:45:15 +00:00
2019-05-22 10:32:25 +00:00
2019-07-08 13:45:15 +00:00