You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @enesgenc07 , I am also facing this issue when I installed this library in my ReactJs web app. But with this we can't import it in our any component and use it as like other node modules. I have also raised the issue/request for ReactJs and Angular framework proejct. See this link How to import WebAudioRecorder.js in ReactJs component? . I am still looking some solution.
Hey Folks,
I have a problem for this library,
My problem is window.WebAudioRecorder is not a function.
I am using angular 9
"web-audio-recorder-js": "0.0.2", installed, with npm
this.voiceRecorder = window.WebAudioRecorder (this.voiceRecorderInput, {
workerDir: 'node_modules/web-audio-recorder-js/lib-minified/', // must end with slash
encoding: 'ogg',
numChannels: 2, // 2 is the default, mp3 encoding supports only 2
onEncoderLoading: function (voiceRecorder, encoding) {
// show 'loading encoder...' display
console.log('Loading ' + encoding + ' encoder...');
},
onEncoderLoaded: function (voiceRecorder, encoding) {
// hide 'loading encoder...' display
console.log(encoding + ' encoder loaded');
},
});
Could you help me anyone, ı tried sometimes but ı didnt solve it.
The text was updated successfully, but these errors were encountered: