Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

A simple security camera software written in java

Notifications You must be signed in to change notification settings

gilbertoverg/BasicSecurityCameraSoftware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic Security Camera Software

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

Screenshots

Client main window:
client main window

Client live view window:
client live window

Client history view window:
client history window

Web browser view:
client history window

Server running:
server

Getting Started

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

Server FAQ

  • 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"

Acknowledgments

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