Skip to content

Commit

Permalink
updated firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
JiningLiu committed Dec 7, 2024
1 parent a521e4f commit 8066637
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 8066637

Please sign in to comment.