Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

You may use node-webkit to achieve this. Node webkit is essentially a browser in node.js.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top