Skip to content

Server-Side-WebCam using Node.js, Socket.io and "Motion" for grabbing frames

License

Notifications You must be signed in to change notification settings

hSpille/Server-Side-WebCam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server-Side-WebCam

Server-Side-WebCam using Node.js, Socket.io and "Motion" for grabbing frames

ServerSide:

You need to have a Linux Server with Node.js installed. The webcam ist connected to the server - not the client. Motion will do the job to connect to the WebCam and save the frames in the folder it was startet (/tmp/motion) Remember Motion will stop saving images when there is no change in the image.

  1. Install Motion (http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome) -- apt-get install motion
  2. Install Node dependencies: -- npm install
  3. Start motion in /tmp/motion (default - if other configure it in server.js)
  4. Start Node server with -- node server.js

ClientSide: Just open index.html.

Remember to change the localhost refs if you want to open it NOT from localhost.

About

Server-Side-WebCam using Node.js, Socket.io and "Motion" for grabbing frames

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published