muaz-khan / WebRTC-Experiment

WebRTC, WebRTC and WebRTC. Everything here is all about WebRTC!!
https://www.webrtc-experiment.com/
MIT License
11.76k stars 3.95k forks source link

Record audio from command line #405

Open beckmx opened 8 years ago

beckmx commented 8 years ago

Hello, I was wondering if it is possible to record audio from nodejs command line, I am developing a little script that should run on the background and I cannot seem to find such feature.

Greetings

muaz-khan commented 8 years ago

I think it is currently possible only in the selenium drivers level where chrome/firefox drivers can load a webpage and record the stream.

PS: There are some webaudio implementations for node.js as well however none of them seems supporting createMediaStreamSource API. So we can't generate MediaStream object in the WebAudio level. So mp3-recording also requires selenium drivers.