I'm playing with browser and audio.
I'm doing this
var session = {
audio: true,
video: false
};
var recordRTC = null;
navigator.getUserMedia(session, initializeRecorder, onError);
But, using latest FF available I got a javascript error, saying that
navigator.getUserMedia is not a function
I copied this code from this blog post: https://blog.groupbuddies.com/posts/39-tutorial-html-audio-capture-streaming-to-nodejs-no-browser-extensions
And similar on latest Chrome:
Uncaught TypeError: undefined is not a function
But I know that this api is supported from both browser
What am I doing wrong?
adapter.js
? – KagoshimagetUserMedia
. Or you can do it yourself as shown in any of the given answers. – Kagoshima