mirror of
https://github.com/taigrr/vidnumerator.git
synced 2026-04-01 20:58:51 -07:00
376 B
376 B
VidNumerator
This is a tiny library that uses syscalls to efficiently determine which /dev/videoN devices
are webcams and which are the additional metadata control handles.
The list of strings returned are the full filepaths to valid devices.
Important
In order for this library to work properly, the executing user must have either root or video group privileges