Sends images from a device (index.html) to a viewer (viewer.html) over websockets when motion is detected.
Uses WebRTC getUserMedia(), <video>
, <canvas>
, Node.js and Socket.io
Hacked together quickly for a demo at #screens12.
Start the server:
node server.js
Point your browser to http://localhost:8080 or http://localhost:8080/viewer.html