Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.WebAudioRecorder is not a function #43

Open
enesgenc07 opened this issue Sep 13, 2020 · 1 comment
Open

window.WebAudioRecorder is not a function #43

enesgenc07 opened this issue Sep 13, 2020 · 1 comment

Comments

@enesgenc07
Copy link

enesgenc07 commented Sep 13, 2020

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.

@tiggem1993
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants