最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to implement WebRTC recording to Node.js server - Stack Overflow

programmeradmin2浏览0评论

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 ponent 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?

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 ponent 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?

Share Improve this question asked Sep 24, 2013 at 17:14 bluepumabluepuma 1911 gold badge2 silver badges8 bronze badges 3
  • according to this: youtube./… it's not trivial. You have to use the C++ library and open a PeerConnection to the Server. – Svetlin Mladenov Commented Sep 26, 2013 at 8:09
  • @bluepuma Have you found a solution for your problem? I am also interested in saving streams on server. – jpen Commented May 18, 2014 at 10:14
  • you can use node-webrtc lib for server side stream receiving. But node-webrtc is not well documented. Thanks – BeingMIAkashs Commented Jun 23, 2014 at 5:49
Add a ment  | 

2 Answers 2

Reset to default 8

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

Here's a demo of recording: https://www.webrtc-experiment./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.

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

发布评论

评论列表(0)

  1. 暂无评论