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. Two things to note at the moment:
- The node server does serve up
index.html
orviewer.html
- There are three absolute URLS in
index.html
,viewer.html
andindex.js
that you will need to change.
This will all be cleaned up into a tidy node process very soon. thanks :)