webaudio-examples
webaudio-examples copied to clipboard
createMediaElementSource() requires prior call to getUserMedia() using Safari
media-source-buffer stays silent on Safari, unless this line is added (and the permission to use microphone is granted):
navigator.mediaDevices.getUserMedia({ audio: true, video: false });
I could not figure out whether this is a bug on Safari, or is it an undocumented behavior.
Worth mentioning: even with the microphone permission granted, the sound clicks and pops so it is overall barely usable. These are known bugs, possibly unrelated to the permission: https://bugs.webkit.org/buglist.cgi?quicksearch=createMediaElementSource