StreamingKit icon indicating copy to clipboard operation
StreamingKit copied to clipboard

Progress from delegate method is incorrect

Open kevinlin505 opened this issue 9 years ago • 2 comments

It seems like the progress in callback from the delegate method below is incorrect:

audioPlayer:didFinishPlayingQueueItemId:withReason:andProgress:andDuration

for example play 10 sec -> seek n sec -> play another 5 sec -> end the progress is 5 sec not 10 + 5 sec

Is there a way I can get the actual progress being played? I am new to this library, any help is appreciated. THANKS!

kevinlin505 avatar Jan 22 '16 20:01 kevinlin505

Apparently it's the progress since the start (because you've started after 10 seconds, it's 5 which is correct). Use [audioPlayer progress] to get accurate relative to overall duration result.

grabbou avatar Jan 26 '16 11:01 grabbou

Having the same issue. Updated code to the latest commit but still persists.

vishal-i4gs avatar Feb 01 '18 09:02 vishal-i4gs