diff --git a/README.md b/README.md index a90fd78..225da7d 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,8 @@ echo "alias serve='cd ~/stream-cam-web && npm run preview & cd ~/stream-overlays echo "alias cam='~/stream-cam/mediamtx'" >> ~/.bashrc echo "alias web='cd stream-cam-web && npm run preview'" >> ~/.bashrc echo "alias overlays='cd stream-overlays && bun run preview'" >> ~/.bashrc -echo "alias stop='killall node & killall vite & killall mediamtx'" >> ~/.bashrc +echo "alias stop='killall node & killall vite & killall mediamtx & killall bun & lsof -ti :3000 :5281 :6232 | xargs kill +'" >> ~/.bashrc echo "alias update='~/stream-cam/update.sh'" >> ~/.bashrc source ~/.bashrc diff --git a/server/index.js b/server/index.js index 4a8b1c7..983555a 100644 --- a/server/index.js +++ b/server/index.js @@ -60,10 +60,10 @@ wss.on("connection", function connection(ws) { // break; // } - case "set-mf": { - camSettings.mf = input; - break; - } + // case "set-mf": { + // camSettings.mf = input; + // break; + // } case "reboot": { sh("sudo reboot");