Skip to content

Browser tab is signalling that the 'Mic in use' even after calling the stopRecording() prevoided by the useAudioRecorder() #4193 #141

@nik32

Description

@nik32

Describe the bug
I am using the useAudioRecorder() hook along with our own custom HTML/CSS UI element for Audio recording functionality. Even after the user has recorded the audio and stopped recording, they are still being shown by the browser that the 'Microphone is in use', creating a privacy issue for the user, as they don't want their mic to be accessible at all times after they have recorded their audio. Have attached the Browser tab's screenshot after recording is stopped (in the Screenshot section)

To Reproduce
Steps to reproduce the behavior:

  1. Start audio recording using the 'startRecording()' provided by useAudioRecorder()
  2. Stop the audio recording using the 'stopRecording()' provided by useAudioRecorder()
  3. You will see Chrome and Edge still signaling that 'Microphone in use' even after the recording has been stopped (screenshots attached in the section below)

Screenshots
Microsoft Edge (Even the OS is signalling that the 'Microphone is in use' as shown by the 'Mic' icon) -

Image

Google Chrome -

Image

Expected behavior
The browser tab should not be signalling that the 'Microphone is in use' after the stopRecording() is called

Package info (please complete the following information):

  • Version 2.2.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions