Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not Supported on iOS Safari

See original GitHub issue


I already put it in the #21 issues but nobody could give me an answer so I made a new issue.

I tried multiple things with mic-recorder lib in my React project but I have an issue with the safari browser on iOS (same on ios chrome). When I click on the record button with

startRecording = () => {
    // Start recording. Browser will request permission to use your microphone.
    window.AudioContext = window.AudioContext || window.webkitAudioContext;
  if (window.AudioContext) {
    window.audioContext = new window.AudioContext();
      isRecording: true,
      .then(() => {
        // something else
      .catch(e => {

When trying the example from it works on ios.

Because I am not using it exactly like the example in my REACT code, it doesn’t display the popup that should ask me if I want to accept that safari is going to use the microphone.

If someone have any idea with that

Thank you

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

tyheroxcommented, Nov 29, 2020

Hey guys, it’s a pretty quick fix and it’s not the libraries fault.

Basically, Safari requires your url to be https to use the microphone. I fixed the problem by using ngrok to tunnel and used the given https url to test the functionality.

Hope this helps!

vinikatyalcommented, Jun 4, 2022

Anyone has a sample example for ios safari?

Read more comments on GitHub >

github_iconTop Results From Across the Web

If Safari isn't loading websites or quits on your iPhone, iPad, or ...
If Safari isn't loading websites or quits on your iPhone, iPad, or iPod touch · Connect to a different network · Restart your...
Read more >
8 Ways to Fix Safari Not Working on an iPhone - MakeUseOf
1. Turn Off Safari Suggestions · 2. Turn On Cellular Data for Safari · 3. Edit Your Screen Time Settings · 4. Clear...
Read more >
Safari not working on iOS 16? How to fix it - iGeeksBlog
1. Ensure that you have allowed Safari to use Cellular · 2. Clear Safari History and Website Data · 3. Reset your iPhone...
Read more >
Safari Not Working On iPhone? Here's The Fix.
Safari Not Working On iPhone? Here's The Fix. · What's Really Causing The Problem? · Close And Reopen Safari · Clear Safari History...
Read more >
Safari Not Working on Your iPhone? Here's How to Fix It
Reset your wireless router. Turn mobile data off and turn it back on again. Clear Safari cache and data. Restart your iPhone.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found