You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I check whether or not the user has granted permission of the microphone on browser, when the user accepts and begins recording, the microphone icon appears on the browser showing that is in use. However, when the user stops recording, the microphone does not disappear, giving the user the perception that the microphone is in use.
This bug only appears when I surround the recording action by checking or not whether the user has granted permission in await audioRecord.hasPermission()
Add your record configuration RecordConfig(...)
To Reproduce
// error appears when I wrap the start function by checking for permission
Package version
4.4.4
Environment
Describe the bug
When I check whether or not the user has granted permission of the microphone on browser, when the user accepts and begins recording, the microphone icon appears on the browser showing that is in use. However, when the user stops recording, the microphone does not disappear, giving the user the perception that the microphone is in use.
This bug only appears when I surround the recording action by checking or not whether the user has granted permission in
await audioRecord.hasPermission()
Add your record configuration
RecordConfig(...)
To Reproduce
// error appears when I wrap the start function by checking for permission
void dispose() {
audioRecord.dispose();
super.dispose();
}
if (await audioRecord.hasPermission()) { await audioRecord.start(); }
String? path = await audioRecord.stop();
Expected behavior
Red Mic Icon should go away when user stops recording audio - see video on how the red mic icon does not go away
RPReplay_Final1702184714.mov
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: