Check if the built-in Mac camera is on
The camera is commonly known as FaceTime HD or iSight.
This module can be useful to check if the camera is already in use or notify you if it's turned on when you didn't intend it to be.
- macOS 10.11+
- Xcode 10+
- Swift 4.2+
.package(url: "https://github.com/sindresorhus/is-camera-on", from: "2.0.0")
import IsCameraOn print(isCameraOn()) //=> true
- node-is-camera-on - Node.js wrapper for this module
- is-camera-on-cli - CLI for this module
- macos-wallpaper - Manage the desktop wallpaper
- do-not-disturb - Control the macOS
Do Not Disturbfeature
MIT © Sindre Sorhus