webaudio-examples icon indicating copy to clipboard operation
webaudio-examples copied to clipboard

createMediaElementSource() requires prior call to getUserMedia() using Safari

Open creaktive opened this issue 3 years ago • 1 comments

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.

creaktive avatar Mar 08 '22 12:03 creaktive

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

creaktive avatar Mar 10 '22 12:03 creaktive