-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mic Icon not properly disappearing when audioRecord checks for permission from browser #260
Comments
Thanks for the report. |
@llfbandit appreciate the quick response! Can you show me the implementation of a recorder instance in recorder_web? It seems in the repo it says go to the "main record package" but the web directory in the example directory just has html instead of dart code |
record_web is a transitive dependency you get from record. Just upgrade your own pubspec. |
@llfbandit - looks like its working well on my end after a few flutter cleans/remove and reinstalling! |
Package version
5.0.1
Environment
Describe the bug
When I add the check for permission (from the browser) before I start recording, the browser still says I'm using the mic icon even when I'm done recording, using the microphone. When I remove the check for permission, the browser correctly releases the mic, hence I believe the issue is with the checking for permission
Config I use for Chrome: const RecordConfig(encoder: AudioEncoder.opus)
To Reproduce
Code I use in the demo (video attached) - this functions fire when I press record
Code Snippet: https://goonlinetools.com/snapshot/code/#yi5r5r19xzlc609ctycjh5
Video: https://github.com/llfbandit/record/assets/8631395/5d03d875-5fa8-4d6b-b0b9-162cb5ec79ca
Expected behavior
The mic should disappear from the browser when the recording is done
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: