Using getUserMedia I can capture video stream from client\'s webcam/camera. And using video tag I can show it on client\'s browser. Code:
video
MediaStreamRecorder is a WebRTC API for recording getUserMedia() streams . It allows web apps to create a file from a live audio/video session.
RECORD
Spec:
http://www.w3.org/TR/mediastream-recording/
you can send recorded file to server.