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

Strange values in Safari when mic volumen is 0 #32

Open
ibc opened this issue Nov 24, 2017 · 4 comments
Open

Strange values in Safari when mic volumen is 0 #32

ibc opened this issue Nov 24, 2017 · 4 comments

Comments

@ibc
Copy link
Contributor

ibc commented Nov 24, 2017

  • Safari Technology Preview in OSX High Sierra.
  • Mute the mic volume.
  • Check the dBs value in "volume_change" event:

It decreases until ~-500 and, after that, it becomes -100 (constant). It never reaches -Infinity.
In the other side, in Chrome/Firefox in behaves differently: it decreases gradually to -Infinity.

Not sure if hark may do something to "normalize" it. Currently it's so hard to detect "muted microphone".

@xdumaine
Copy link
Contributor

@ibc Are you still interested in this repo? Sorry for the lack of responsiveness. If so, could you verify that this is still the case in the latest version of Safari?

@ibc
Copy link
Contributor Author

ibc commented Jul 16, 2018

Hi @xdumaine, yes I am. I will re-check it on next days (cannot provide a proper ETA but it will happen in no more than a few weeks).

@joeyreinders
Copy link

Is there any news regarding this issue?
I'm encountering the same issue on iOS Safari.

@Riley-Brown
Copy link

Events were not working for me at all in iOS Safari, my fix was creating a new AudioContext() in a click handler and saving it to a variable to pass to hark later on. If using AudioContext outside of a user interaction, the AudioContext volume seems to break on iOS https://bugs.webkit.org/show_bug.cgi?id=177292

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

4 participants