Websocket-enabled HTML5 webcam
Nothing special, bits and pieces glued together:
- HTML5 enabled webcam using something like the video tag and a bit of JS magic (see clientcam.html)
- websocket enabled streaming of the data found on the client back to the pure NodeJS server (server.js).
- the NodeJS server then streams the raw bytes back to other browser clients. (cam/index.html)
Why would you do something like this?
By the way, I found out the dog does nothing but sleep during the day. BOOORING :) All these lines of code, for nothing!
Where are your unit tests?
It was a spike, okay? (lol)
Your woofie, Let me show you them!
Yes, the cat decided to join the peeping fest, but got bored quickly. As our cat usually does. YAWN