-
- https://www.rust-lang.org/tools/install
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
- https://www.rust-lang.org/tools/install
-
- PreRequisites
cargo tauri add cli
-
sudo apt-get install build-essential clang libclang-dev
-
sudo apt install ffmpeg ./configure --enable-shared --enable-libx264 --enable-gpl make make install
-
- On raspberry pi this dependency will break upon building, you will need open
v4l2loopback.cfile after cloning from github and add#include <linux/string.h>at the top and convert all usage ofstrlcpytostrncpysave and then build
- On raspberry pi this dependency will break upon building, you will need open
-
-
sudo apt-get install libsdl2-2.0-0
-
Follow this guide.
Instead of selecting an official Raspberry Pi OS, use ZeroCam.img provided.
-
- Create new google account
- Go to Google Cloud Console
- Search "Google Drive" and enable API
- Create Oauth 2.0 Client
- Select desktop application
- Download the file
- Move it into your ZeroCam/Zerocam/lib or ZeroCam R Pi/ZeroCam/ZeroCam/lib or zerocam_0.0.0_amd64/data/usr/lib/zerocam built folder
- Rename the file to secret.json
-
Disable password for sudo actions (skip this if you are using .img) (developer setup)
-
- Create https://playit.gg/ account and verify email (guest will not work)
-
wget https://github.com/playit-cloud/playit-agent/releases/download/v0.15.0/playit-linux-amd64 chmod +x playit-linux-amd64 ./playit-linux-amd64
- Click the link shown in terminal
- Click create tunnel and copy these settings
- Save the address in the config in output URL file
-
- Install cloudflared
- Set it up tunnel as shown and follow guide
-
cloudflared tunnel login
-
- run
-
npm run tauri dev
-
- run with logs
-
RUST_LOG=INFO npm run tauri dev
-
- run with debug logs
-
RUST_LOG=DEBUG npm run tauri dev
-
- run












