This repository has been archived on 2026-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
JSCA/README.md
rattatwinko a95b78bd8f shit
2025-05-27 17:20:56 +02:00

88 lines
2.5 KiB
Markdown

# Java Security Camera Application (JSCA)
A Java-based desktop application for managing and viewing multiple camera feeds simultaneously. Supports both local webcams and network cameras.
## Features
- 🎥 Support for local webcams and network cameras (MJPEG streams)
- 📺 2x2 grid layout for viewing up to 4 camera feeds
- 💾 Save and load camera configurations
- 🔐 Basic authentication for network cameras
- 🖱️ Click-to-select camera panels
- 🎛️ Simple and intuitive menu interface
## Requirements
- Java 11 or higher
- Maven 3.6 or higher
- Connected webcam(s) for local camera support
- Network camera URLs (if using IP cameras)
## Building the Application
1. Clone the repository:
```bash
git clone https://github.com/yourusername/jsca.git
cd jsca
```
2. Build with Maven:
```bash
mvn clean package
```
This will create an executable JAR file in the `target` directory.
## Running the Application
Run the application using:
```bash
java -jar target/security-camera-app-1.0-SNAPSHOT-jar-with-dependencies.jar
```
## Usage Instructions
1. **Adding Cameras**:
- Select an empty camera panel by clicking on it
- Go to Camera -> Add Local Camera to add a webcam
- Go to Camera -> Add Network Camera to add an IP camera
2. **Managing Cameras**:
- Click on a camera panel to select it
- Use Camera -> Remove Camera to stop and remove the selected camera
- Use Camera -> Restart Camera to restart the selected camera feed
3. **Saving/Loading Configurations**:
- File -> Save Setup to save your current camera configuration
- File -> Load Setup to restore a previously saved configuration
## Network Camera URLs
For network cameras, you'll need the MJPEG stream URL. Common formats include:
- Generic IP Camera: `http://camera-ip:port/video`
- DroidCam: `http://phone-ip:4747/video`
## Troubleshooting
1. **No webcams detected**:
- Check if your webcam is properly connected
- Ensure no other application is using the webcam
2. **Network camera not connecting**:
- Verify the camera URL is correct
- Check if the camera is accessible from your network
- Ensure proper credentials are provided if required
3. **Performance issues**:
- Try reducing the number of active cameras
- Check your network bandwidth for IP cameras
- Ensure your computer meets the minimum requirements
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.