This commit is contained in:
2023-04-12 13:03:20 +02:00
parent 6294649b5a
commit 1a9a4dee6d
5 changed files with 110 additions and 63 deletions

View File

@ -1,4 +1,8 @@
#!/bin/sh
adb forward tcp:4747 tcp:4747
droidcam-cli 127.0.0.1 4747
echo $! > ~/.pid/droidcam.pid
while true; do
droidcam-cli 127.0.0.1 4747 &
sleep 240
kill $!
sleep 3
done