commit | 62cbdcea050529a5cd18d5e82dc3c8f6997b09fc | [log] [tgz] |
---|---|---|
author | Sunggook Chue <sunggch@microsoft.com> | Tue Feb 13 23:52:28 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 15 23:15:31 2024 |
tree | 45a8654e23b860f4492b4fe97c7c03541763c025 | |
parent | 7e0bd7aaaf52a6a4bd6c3f84c107071cd2827299 [diff] |
Allow getDisplayMedia capture HDR monitor. The code uses IDXGIOutput1::DuplicateOutput for screen capture and it allows only DXGI_FORMAT_B8G8R8A8_UNORM texture format, which works on most monitor cases except HDR monitor. HDR mointor returns type of DXGI_FORMAT_R16G16B16A16_FLOAT. These two types of DXGI_FORMAT_B8G8R8A8_UNORM and DXGI_FORMAT_R16G16B16A16_FLOAT are all formats that DuplicateOutput returns based on Windows OS team. The fix is to add allowed format of DXGI_FORMAT_R16G16B16A16_FLOAT. Manually repro the issue and validated the fix. Bug: chromium:40787684 Change-Id: I0a7be38b14a06261d631d2db172f12725edbbf1f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/339621 Reviewed-by: Mark Foltz <mfoltz@chromium.org> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/main@{#41749}
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.