[BUG]: onProgress not returning decibels for Web
See original GitHub issueFlutter Sound Version :
-
FULL
-
Important: Result of the command :
flutter pub deps | grep flutter_sound
|-- flutter_sound 9.1.2 | |-- flutter_sound_platform_interface 9.1.2 | |-- flutter_sound_web 9.1.2 | | |-- flutter_sound_platform_interface…
Severity
- Result is not what expected
Platforms you faced the error
- Flutter Web
Describe the bug The onProgress callback is called but the decibels value is always 0 when running on web. Also https://flutter-sound.canardoux.xyz/web_example/#/ Recorder onProgress does not shows the decibels
To Reproduce Steps to reproduce the behavior:
- Go to https://flutter-sound.canardoux.xyz/web_example/#/
- Click on Recorder onProgress
- Click on Go
- See error - no db value showing.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Can onprogress functionality be added to jQuery.ajax() by ...
Short answer: No, you can't do what you want using xhrFields . Long answer: There are two progress events in a XmlHttpRequest object:....
Read more >XMLHttpRequest.upload.onprogress event not being fired ...
Steps to reproduce the issue: 1. Create a page that performs a POST or PUT of a file to a server using the...
Read more >IDBAsynchNotify::OnProgress | Microsoft Learn
Returns the progress of an asynchronous method call. This method makes no logical change to the state of the object. Syntax. Copy.
Read more >Getting database internal error (Internal error in drFldAttr ...
Getting below internal DB error for one of our client database during conversion of 10.1C DB to 11.6 version. Other databases converted successfully....
Read more >Cursor_close does not process return value from SQLFreeHandle ...
I think what is actually happening is that the exception is being raised but something else is eating the error. Can you reproduce...
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
That’s right. I probably did again a mistake when I merged @GeorgeAmgad Pull Request. I am very sorry and will fix that as soon as I will have access to my computers
Well probably this time it’s my mistake, I added the files in
js
folder not insrc
, it should be working if you are importing the js files inindex.html
(which was the default step to do before9.1.1
when I added the feature) but now they are imported by default fromsrc
folder which doesn’t include the addition … sorry for the mess.@Larpoux To fix this you will just need to copy
flutter_sound_recorder.js
fromjs/flutter_sound
tosrc
.