A quick demo of using the new HTML5 device functionality to stream video from a phone, via node.js to a web based client elsewhere
JavaScript CSS
Switch branches/tags
Nothing to show
Latest commit f846038 Aug 13, 2014 @chemicaloliver Merge pull request #1 from arthurbarros/master
Css folder missing the reference



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.



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.