question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: onProgress not returning decibels for Web

See original GitHub issue

Flutter 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:

  1. Go to https://flutter-sound.canardoux.xyz/web_example/#/
  2. Click on Recorder onProgress
  3. Click on Go
  4. See error - no db value showing.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
Larpouxcommented, Mar 24, 2022

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

1reaction
GeorgeAmgadcommented, Mar 24, 2022

Well probably this time it’s my mistake, I added the files in js folder not in src, it should be working if you are importing the js files in index.html (which was the default step to do before 9.1.1 when I added the feature) but now they are imported by default from src 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 from js/flutter_sound to src.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found