hackingbeauty/react-mic

react-mic doesn't force the browser to stay in focus

Opened this issue · 1 comments

So what happens is when some phones go to sleep / lock the audio is no longer recorded.

This is a problem on only a few devices I've seen so far.

  • Huawei P20 Pro (android) for instance.

Has anyone else had this problem? And come to a solution?

I'm also having issues in chrome where recording is stopping after a few minutes occasionally for backgrounded tabs. Happens after 4-6 minutes, is difficult to reproduce. Sounds like a focus issues. Comes through with an onClick call even though the tab is in the background.