in WebRTC , getUserMedia() gives you a MediaStreamObject - LocalMediaStream. HTML5ROCKS has a tutorial in which you can relay the camera. Is it possible to store the LocalMediaStream in localstorage & then pass on the raw bytearray data to the server?
Here is the HTML5ROCKS writeup : http://www.html5rocks.com/en/tutorials/getusermedia/intro/