commit | b64ecd9960d5bba5272608d896055a3345ff87f3 | [log] [tgz] |
---|---|---|
author | Dan Minor <dminor@webrtc.org> | Wed Jun 03 17:13:30 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 11 19:58:49 2020 |
tree | 42e51772f852902b58b3fe3d9463eab4490e2da8 | |
parent | d5925756980f6e82a55f57532c8d855e954459fb [diff] |
Check V4L2_CAP_VIDEO_CAPTURE when enumerating capture devices on Linux The side effect of not filtering on V4L2_CAP_VIDEO_CAPTURE is that every device is enumerated twice. Because we look up devices by name, and the device that supports V4L2_CAP_VIDEO_CAPTURE seems to always appear first in /dev/video, this does not seem to end up with us ever choosing an inappropriate device. We might get away with just filtering device names from the list, but if the order of devices ever changed in /dev/video there could be problems. Bug: webrtc:11641 Change-Id: I16fee4edc873838ed4643ee16a8bbc699d6bbcf5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176460 Reviewed-by: Per Kjellander <perkj@webrtc.org> Commit-Queue: Dan Minor <dminor@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31508}
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.