win10-find-all-video-capture-devices
Find all video capture devices on Windows 10.
This module is a wrapper around the DeviceInformation.findAllAsync method from the Windows.Devices.Enumeration namespace of the Universal Windows Platform API.
Thanks to NodeRT, this module comes prebuilt for Windows 10.
Installation
npm install win10-find-all-video-capture-devices
Quickstart
const isWin10 = const findAllVideoCaptureDevices = if isWin10
API
findAllVideoCaptureDevices()
- returns a
<Promise>
which:- resolves with an
<Array>
of video capture devices - rejects with an
<Error>
- if used on a non-Windows 10 system
- if finding the devices failed
- resolves with an
For more documentation, check out the code comments, or consult the official UWP Windows.Devices.Enumeration documentation.
License
WTFPL – Do What the F*ck You Want to Public License.
Made with ❤️ by @MarkTiedemann.