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

Uncaught NotSupportedError: Failed to construct 'AudioContext' #3699

Closed
Micjoyce opened this issue Jul 6, 2016 · 5 comments
Closed

Uncaught NotSupportedError: Failed to construct 'AudioContext' #3699

Micjoyce opened this issue Jul 6, 2016 · 5 comments

Comments

@Micjoyce
Copy link

Micjoyce commented Jul 6, 2016

Your Rocket.Chat version: (make sure you are running the latest)

When I send some audio record message in demo.rocket.chat, I got this error and I can send any more audio record message.
audioRecorder.coffee:7 Uncaught NotSupportedError: Failed to construct 'AudioContext': The number of hardware contexts provided (6) is greater than or equal to the maximum bound (6).
AudioContext.close()
will fix this error

  stop: (cb) ->
    @recorder.stop()

    if cb?
      @getBlob cb

    @stream.getAudioTracks()[0].stop()

    @recorder.clear()

    @audio_context.close()  # close audiocontext 
    delete @audio_context
    delete @recorder
    delete @stream
@danielwegener
Copy link
Contributor

Would be great to know which browser (which version) you are using on which OS.

@Micjoyce
Copy link
Author

Micjoyce commented Jul 6, 2016

browser:
Google Chrome 51.0.2704.103 (64)
version aa7c8d23c098e96a388ffedf6698230bda650bb3-refs/branch-heads/2704@{#723}
OS Mac OS X
Blink 537.36 (@aa7c8d23c098e96a388ffedf6698230bda650bb3)
JavaScript V8 5.1.281.65

android version: 5.1

@MartinSchoeler
Copy link
Contributor

@Micjoyce Is this bug happening in the newer releases?

@Micjoyce
Copy link
Author

This issure can be close. I make a test in demo.rocket.chat and not found againt.

@MartinSchoeler
Copy link
Contributor

OK Thanks for the reply @Micjoyce !

@marceloschmidt marceloschmidt modified the milestone: 0.38.0 Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants