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

TypeError: self.context.close is not a function #6

Open
JohnGoodman opened this issue Apr 29, 2021 · 5 comments
Open

TypeError: self.context.close is not a function #6

JohnGoodman opened this issue Apr 29, 2021 · 5 comments

Comments

@JohnGoodman
Copy link
Contributor

Hey, sometimes ( but not every time ), when I start the recorder, it throws this error:

TypeError: self.context.close is not a function
ScriptProcessorNode._this.recorder.onaudioprocess src/index.js:164

161 | self.stream.getTracks().forEach(function (track) {
162 | track.stop()
163 | })
164 | self.context.close()
165 | ^ }
166 | }
167 | // we clone the samples

Any idea what is causing this?

@JohnGoodman
Copy link
Contributor Author

Looking at the code, I'm wondering if line 164 of src/index.js needs to be updated from self.context.close() to self.context.closeMic()

@yeganehaym
Copy link

I have the same problem with the Firefox browser
in the Chrome working very well

@lorenamelor
Copy link

The same problem here.

@lxtmohamedfaried
Copy link

I have the same problem with the Firefox browser in the Chrome working very well

We had the same problem with Firefox but works fine with chrome.

@ubaidbaidi786
Copy link

I have the same problem in chrome some time and mostly in firefox

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

5 participants