Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement WebRTC recording to Node.js server

I would like to create an easy video blogging solution utilizing WebRTC technology to enable recording of video/audio directly from the browser, similar to Youtube's My_Webcam. The server component should be based on Node.js.

I found some Node.js libraries for general WebRTC connection managment (webRTC.io, Holla, EasyRTC), but it seems they don't enable recording of streams on the server.

What's the best way to implement server-side recording? Are there libraries and tutorials available?

like image 708
bluepuma Avatar asked Sep 24 '13 17:09

bluepuma


1 Answers

This guy has a ton of interesting WebRTC experiments, including audio/video recording: https://github.com/muaz-khan/

Here's a demo of recording: https://www.webrtc-experiment.com/RTCMultiConnection-v1.4-Demos/RecordRTC-and-RTCMultiConnection.html

It collects the audio and video streams on the client and gives you a blob of audio and a blob of video that you can then upload/splice together.

Not exactly what you were hoping for, I think, but could probably get the job done. Hope that helps.

like image 130
Jesse Patel Avatar answered Oct 27 '22 03:10

Jesse Patel