00:00
45
The idea behind this simple demo is to push image data to a client (Browser) using WebSockets. It might be a scenario for real time HTML5 applications.
The demo runs with Node.js (Express) and Socket.IO. It generates its HTML code using Jade templates and Stylus (CSS). The code is written in CoffeeScript.
For more information check out my blog post: websector.de/blog/2011/12/22/pushing-binary-image-data-using-node-js-and-socket-io/
BTW: All source code of this demo is available at GitHub github.com/sectore/node-socket.io-push-image-demo