Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 1.03 KB

HTML5-Device-Streamer

This is a simple demo of streaming live video from one web browser to another in Javascript. Video is captured using the mobile phone camera using getUserMedia(), periodically frames are captured and sent via a websocket to node.js which rebroadcasts them to all connected clients. The clients then show the video by rendering each frame as an image as it arrives. The framerate is slow due to the limited processor power of phones.

Requirements

Inspiration

This quick hack was inspired by this video http://www.youtube.com/watch?v=cjmuwA8l1LQ but the author has not released the source anywhere I've found. As I had already been experimenting in the area I pretty much knew how to do it already so did it and put it here.