I need to create an app that can record video using a webcam or mobile camera (it needs to be cross platform).
So far I have written a small proof of concept using webrt
You can record video and audio separately. You can get files (WAV/WebM) and upload them on demand. webkitMediaStream takes two objects 1) audioTracks and 2) videoTracks. You may be able to combine both audio/video recorded streams!