rxlabz / audioplayer

A flutter plugin to play audio files iOS / Android / MacOS / Web ( Swift/Java )

Home Page:https://pub.dartlang.org/packages/audioplayer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fire onAudioPositionChanged callback even when Audio is Paused

ayush221b opened this issue · comments

I am using a slider to seek() to a current position in the audio stream. Everything works fine when the AudioPlayer is Playing, but when it is Paused, the seek() works, but we don not get back the new position in the onAudioPositionChanged callback because it does not fire. due to this, the slider is not working.

Can someone suggest a workaround for this?

Yes. I am facing the same issue now. It was working fine before. Did you get any solution?