Skip to content

window.WebAudioRecorder is not a function #43

Open
@enesgenc07

Description

@enesgenc07

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions