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

The browser closes the microphone connection after some seconds in Firefox #6

Closed
tirithen opened this issue Sep 19, 2014 · 2 comments
Closed

Comments

@tirithen
Copy link

I'm impressed by this demo, and made a bower package of some of the code https://github.com/tirithen/PitchDetector , however in both your and mine version the connection to the microphone closes after ~ 5 - 30 seconds. The icon beside the address field in the browser disappears but I cannot find a way to detect any error happening.

Did you experience the same problem (using Firefzox 32.0.1)?

@AdaRoseCannon
Copy link

This is usually a problem with firefox garbage collecting the mediaStreamSource, make sure it is declared in a place it won't be GC'd such as in the global scope or on the window object.

@cwilso
Copy link
Owner

cwilso commented Sep 19, 2014

Well, that's pretty messed up. As long as it's connected and pulling input, it shouldn't be garbage collected. But fixed, with cwilso/Audio-Input-Effects@218d568.

@cwilso cwilso closed this as completed Sep 19, 2014
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

3 participants