Server software to run on Tapster Checkbox hardware
Note: Most of the set-up can be done by an automated script: https://valetnet.dev/config-os/
cd ~/Projects/checkbox
source env/bin/activate
git clone https://github.com/tapsterbot/checkbox-server.git
cd checkbox-server
pip install -r requirements.txt
cd ~/Projects/checkbox/checkbox-server/video-driver
chmod u+x set-up-video.sh
./set-up-video.sh
sudo apt install libevent-dev libbsd-dev libjpeg62-turbo-dev
cd ~/Projects
git clone --depth=1 https://github.com/tapsterbot/ustreamer.git
cd ustreamer/
make
Note: You have to run the set-up-video.sh
listed above after every reboot of the system and every time you (re)plug in a phone.
./ustreamer --device=/dev/video0 --host=0.0.0.0
### or
./ustreamer --device=/dev/video0 --host=0.0.0.0 --resolution=1920x1080 --format=UYVY
http://checkboxmini:8080/
If that works, then let's startup the Checkbox Server (finally!)
Now stop the uStreamer app...
Note: You have to run the set-up-video.sh
listed above after every reboot of the system and every time you (re)plug in a phone.
cd ~/Projects/checkbox/
source env/bin/activate
cd ~/Projects/checkbox/checkbox-server/video-driver/
./set-up-video.sh
cd ..
python server.py