This project is a lightweight HTTP streaming server for the A9 WiFi mini-camera, implemented in Go. Based on JavaScript implementation in the A9_PPPP repository, this Go version provides a minimal, dependency-free solution to stream MJPG video directly from the camera. With this project, there's no need to set up additional libraries, making it ideal for straightforward streaming setups.
This implementation retrieves only the MJPG video stream from the A9 camera.
- A single binary, ideal for systems where lightweight and efficient code is essential.
This Go implementation is limited to MJPG video streaming. If you require additional camera commands (e.g., controlling the camera or retrieving audio), consider using the original A9_PPPP repository or extending this project.
- Go 1.16 or higher
- A9 WiFi mini-camera connected to the same network
-
Clone the repository:
git clone https://github.com/HritikR/A9Server cd A9Server
-
Build the server:
go build -o a9server main.go
-
Run the server:
./a9server
Once the server is running, you can connect to the MJPG stream http://localhost:8080/stream
to view the live video feed from the A9 WiFi mini-camera.
Contributions are welcome! If you’d like to add features or improve functionality, please submit a pull request.
- A9_PPPP for the JavaScript implementation.
- Home Assistant Community