Audio-Input-Effects icon indicating copy to clipboard operation
Audio-Input-Effects copied to clipboard

Firefox compatibility

Open raphaelbastide opened this issue 2 years ago • 0 comments

I managed to make the script Firefox compatible, by replacing those lines by:

  navigator.mediaDevices.getUserMedia(constraints)
  .then((stream) => {
      gotStream(stream)
  })
  .catch((err) => {
      alert('Error getting audio');
      console.log(err);
  });

I can’t really PR because I can’t get adapt gotSources() properly with MediaDevices.enumerateDevices()

raphaelbastide avatar Feb 01 '23 12:02 raphaelbastide