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

After seeking, PlayerState becomes "buffering" when a song finished playing. #457

Open
dylancom opened this issue Oct 29, 2020 · 2 comments

Comments

@dylancom
Copy link
Contributor

dylancom commented Oct 29, 2020

When just playing a song from beginning to end, the STKAudioPlayerState will change into STKAudioPlayerStateStopped.
But when I seek during playback (seeking works fine btw) for some reason the state will change from STKAudioPlayerStatePlaying to STKAudioPlayerStateBuffering when the song finished playing.

So it seems that after seeking it can't detect anymore when a song finished playing.

@DougFischer
Copy link

Hi @dylancom! I'm studying this lib to adopt it in my next project and I'm interested if this issue is already addressed. May you share if you ended up using this lib?

@dylancom
Copy link
Contributor Author

@DougFischer Yes I'm still using this lib. This issue hasn't been solved but I found a workaround by comparing the progress of a song with the duration. Not sure if this stuck at "buffering" problem happens with all audio streams though.

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