Go webcam streaming server
- Pull this repo and run
go build
to compile - Visit a web browser and enter the local IP of your host device and the port you have chosen
EG: http://192.168.1.10:3000/login
- Log in using the password you set
- You will be redirected to the stream. The authentication token rotates every time the server is started
The config is set in a file called config.json
{
"port": 3000,
"password": "S3curePassw0rd"
}
- This only runs on Linux
- This has only been tested on a Raspberry Pi 4B
- Go 1.19 is required, manual installation of Go may be necessary
- If you get a
can't open camera by index
error, make sure your camera actually works, and try running CamStream as root