Skip to content

Firefox compatibility #24

@raphaelbastide

Description

@raphaelbastide

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions