Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
branch: master

This branch is 4 commits behind chemicaloliver:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
js
.gitignore
README.md
app.js
client.html
index.html
server.html

README.md

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.

Something went wrong with that request. Please try again.