In the latest version of Windows OS, the camera supports three Pin types: PreviewResolution, StillResolution, VideoResolution. Initially, WebRTC uses the first pin(PreviewResolution Pin)to create the _captureCapabilities. However, when creating the actual capture device, WebRTC uses the VideoResolution(PIN_CATEGORY_CAPTURE ). If the number of supported resolutions in PreviewResolution is greater than that in VideoResolution, the application will crash due to a mismatch in capabilities. To fix this issue, change to using PIN_CTEGORY_CPTURE for all Bug: none Change-Id: I8bca0ac2c8ae12aa119b9a9f70a5220749701a21 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/417200 Reviewed-by: Per Kjellander <perkj@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Auto-Submit: Sai Xu <saixu@qti.qualcomm.com> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46368}
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.