(no title)
nyir
|
4 years ago
The top answer on SO that I found (https://unix.stackexchange.com/a/344463/91434) also uses this way of determining whether the device is being used - is that really the best way, or is there anything to actually query the device? E.g. my webcam has a light already that is only active when images are being captured(?), shouldn't it be possible to query that bit of information directly?
digitalsushi|4 years ago
It's a closed system, like a restaurant kitchen. Determining whether the chef is wearing a hat by examining the plates coming out may be possible with enough plates and time, but the answer sufficiently becomes 'no' for practical purposes.
nixpulvis|4 years ago
KMnO4|4 years ago
If it’s accessible via software, there’s the possibility that it can be controlled with software as well.
InitialLastName|4 years ago
If there's a pin (or more likely, a USB control transfer controlling a pin) that controls the power state of the webcam (and thus the LED), you need to track the state of the pin anyway.
nemetroid|4 years ago
nixpulvis|4 years ago