add logging to better help the user and moved the stream.go file into a pr for the main package

This commit is contained in:
LilliaElaine
2025-10-21 16:01:28 -04:00
parent 2d367a5685
commit 231d2dd4f6
5 changed files with 26 additions and 127 deletions

View File

@ -1,9 +1,9 @@
# go-bsb-cams
Simple program to take and output the Bigscreen Beyond 2e cameras to a webserver to be used with eyetracking software, the stream.go is taken from https://github.com/garymcbay/mjpeg but has the content length removed as our stream is live.
Simple program to take and output the Bigscreen Beyond 2e cameras to a webserver to be used with eyetracking software.
## Usage
Clone This repo and get the dependencies with: `go get .`
To run, execute the following command within the root directory: `go run .` or build the package and run the resulting executable.
To run, execute the following command within the root directory: `go run main.go` or build the package and run the resulting executable.
The code by default outputs to `localhost:8080/stream/` but can be configured within the code.
The code by default outputs to `localhost:8080/stream` but can be configured within the code.