A simple security camera software written in java
Features:
- Connect to a usb webcam or ip camera
- Stream the video from the server to the client using an encrypted connection
- Make the video public to any browser
- Save snapshots
- View saved snapshots remotely using the client
- Make sure you have java 8 installed
- Download the latest release
To run the client simply double click on the jar file
To run the server open the terminal and run:
cd path/to/WebcamServer
java -jar WebcamServer.jar
-
How to run multiple servers?
Create copies of WebcamServer folders, choose different ports and snapshot folders -
What is the "timestamp format"?
The default format is "yyyy-MM-dd HH:mm:ss.SSS"
yyyy = year
MM = month
dd = day
HH = hours
mm = minutes
ss = seconds
SSS = milliseconds
Examples:
yyyy-MM-dd HH:mm:ss.SSS -> 2018-01-29 14:59:03.340
yyyy-MM-dd -> 2018-01-29
HH:mm:ss -> 14:59:03
HH.mm.ss dd/MM/yyyy -> 14.59.03 29/01/2018
- How to reset the configuration?
Delete the file "settings.txt" in the same folder as "WebcamServer.jar"
webcam-capture - Webcam Capture API
webcam-capture-driver-native - Native webcam driver for windows/mac
nanohttpd - A tiny web server in Java
kryonet - API for efficient TCP and UDP client/server network communication
libjpeg-turbo - Fast JPEG compression and decompression library
weupnp - Handle port mappings on Gateway Devices