Skip to content
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

Problem when total = buffered #26

Closed
jaumard opened this issue Oct 16, 2021 · 2 comments
Closed

Problem when total = buffered #26

jaumard opened this issue Oct 16, 2021 · 2 comments

Comments

@jaumard
Copy link

jaumard commented Oct 16, 2021

In my case I'm streaming a web radio, so there is no total at all as it never ends. So to paliate this I'm doing this:

ProgressBar(
              progress: playerDuration.position,
              buffered: playerDuration.buffered,
              total: playerDuration.buffered,
              onSeek: (duration) {
                print('User selected a new time: $duration');
              },
            ),

But by doing so when audio is paused and stream is still buffering, then the thumb circle position is not updated which give this weird thing:

Capture d’écran 2021-10-16 à 16 04 22

Basically if total changes, the thumb position should be updated accordingly.

Thanks a lot for this great package!

@suragch
Copy link
Owner

suragch commented Nov 14, 2021

If you are still using this package, try out version 0.10.0. There is a fix in there from @addie9000 that may solve your issue.

@suragch
Copy link
Owner

suragch commented Feb 3, 2023

I'm going to close this for now, but feel free to reopen if it is still a problem.

@suragch suragch closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants