StreamingKit icon indicating copy to clipboard operation
StreamingKit copied to clipboard

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

Open dylancom opened this issue 5 years ago • 2 comments

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.

dylancom avatar Oct 29 '20 12:10 dylancom

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?

DougFischer avatar Jan 07 '21 03:01 DougFischer

@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.

dylancom avatar Jan 11 '21 18:01 dylancom