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.
a95b78bd8f5600146f51f9b66135d571c3638968
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
-
Clone the repository:
git clone https://github.com/yourusername/jsca.git cd jsca -
Build with Maven:
mvn clean packageThis will create an executable JAR file in the
targetdirectory.
Running the Application
Run the application using:
java -jar target/security-camera-app-1.0-SNAPSHOT-jar-with-dependencies.jar
Usage Instructions
-
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
-
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
-
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
-
No webcams detected:
- Check if your webcam is properly connected
- Ensure no other application is using the webcam
-
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
-
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.
Description
Languages
Java
94.7%
JavaScript
5.3%