[BUG]: openRecorderCompleted is never called on Web
See original GitHub issueFlutter Sound Version : 7.7.0+1
-
FULL flavor
-
Result of the command
flutter pub deps | grep flutter_sound
:
|-- flutter_sound 7.7.0+1
| |-- flutter_sound_platform_interface 7.7.0+1
| |-- flutter_sound_web 7.7.0+1
| | |-- flutter_sound_platform_interface...
Severity
Result is not what expected: I can’t use flutter_sound because I wait for openAudioSession to complete before flagging that the recorder is ready, but it is never ready.
Platforms you faced the error
Flutter Web
Describe the bug
On flutter web, the future that FlutterSoundRecorder.openAudioSession()
returns never completes (because openRecorderCompleted
is never called, and that’s where the completion of the future is called).
To Reproduce
Steps to reproduce the behavior:
Have an instance of a FlutterSoundRecorder recorder = FlutterSoundRecorder();
Then call recorder.openAudioSession()
, await the result, and the result never completes (web).
Logs:
FS:---> openAudioSession
---> openAudioSession
Resetting flutter_sound Recorder Plugin
---> resetPlugin
<--- resetPlugin
initializeFlautoRecorder
<--- openAudioSession
No other line: NO call to openRecorderCompleted
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
A better τ - GitHub
[BUG]: Calling setAudioFocus() to change audio output does not work ... [BUG]: openRecorderCompleted is never called on Web #637 opened by ...
Read more >Issues · Canardoux/flutter_sound · GitHub
[ENH] Flutter Sound on Web could use Dart code instead of Javascript ... [BUG]: openRecorderCompleted is never called on Web maybe bug Not...
Read more >dooboolab - Bountysource
[BUG]: PlatformException thrown when trying playing local audio file. $ 0. Created 1 year ago in Canardoux/tau with ... Flutter Web Bootstrap: Programmatic...
Read more >The Never Endless Bug - Portal Integrators
The bug is a coding error or sometimes is a misbehavior action in a computer program and the impact of this programming bugs...
Read more >Crash when recording while using Bluetooth headphones (iOS)
Cannot build my App ? Minor issue ? Platforms you faced the error. **[ x ] iOS **. Android ? Flutter Web ?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK. I am going to look to your issue this afternoon. Sorry for the inconvenience.
Any news on this issue?