I'm using easyrtc framework for node.js in order to provide web site with video chat. I need to record the video from each chat session. Unfortunately easyrtc doesn't have such option. I suppose it's because node server playing role of "signaling" server. Does anybody know whether the solution of this issue exists? Maybe I should dynamically send video from client back to server or something else? I would appreciate all your advice!
WebRTC was created to generate p2p video conferences, this means that the media will go from a client directly to the other without stopping in the server.
In order to capture the media at the server, you can do any of the following:
The first option is easier to implement but will require the users to send the videos using their bandwith. If they send the video while on the conference, it will result in quality loss since they will be sending video twice. If they send the video once the conference is done, you have the risk on them leaving the page before the upload is completed.
The second option will require you to deploy a WebRTC gateway which will require huge processing and bandwith resources but it will solve all the problems at client level. You may want to take a look at Janus and/or Kurento. There are other more complex WebRTC gateways which will allow you to connect WebRTC with SIP (VoIP) like Asterisk, Kamailio or FreeSWITCH.