Webcamera and Microphone onair status
Install dependencies
npm install
Start the server
npm start
curl http://localhost:3000/api/status
curl -d '{"camera":true,"microphone":true}' -X POST http://localhost:3000/api/status -H "Content-Type: application/json"
mkdir -p ~/.local/bin/
cp bin/com.vovanr.onair.sh ~/.local/bin/
mkdir -p ~/.config/systemd/user/
cp systemd/* ~/.config/systemd/user/
systemctl --user enable com.vovanr.onair.timer
systemctl --user start com.vovanr.onair.timer