How to record webcam and audio using webRTC and a server-based Peer connection

You should definitely have a look at Kurento. It provides a WebRTC server infrastructure that allows you to record from a WebRTC feed and much more. You can also find some examples for the application you are planning here. It is really easy to add recording capabilities to that demo, and store the media file in a URI (local disk or wherever).

The project is licensed under LGPL Apache 2.0


EDIT 1

Since this post, we’ve added a new tutorial that shows how to add the recorder in a couple of scenarios

Disclaimer: I’m part of the team that develops Kurento.

Leave a Comment