SwiftAudioPlayer icon indicating copy to clipboard operation
SwiftAudioPlayer copied to clipboard

It never plays next remote url when iPhone is locked

Open AndreyPoznyak opened this issue 3 years ago • 2 comments

If we have more than 1 item in our list to play (of remote URLs) it will stuck on the second one. It does not matter whether the queue is managed outside of the lib or inside (via queueRemoteAudio(withRemoteUrl:))

It happens when the iPhone is locked and connected to the internet. When the app is in the foreground the issue is not reproduced

In console with debug mode on I see the following errors: AudioConverterErrors.swift:errorDescription:72:: Not enough data for read-conversion operation AudioStreamWorker.swift:stop(withId:):209:: stream_error tried to stop a task that's in state: 3

NOTE: using cellular connection (3G, 4G, 5G - does not matter) - it is extremely easy to reproduce

AndreyPoznyak avatar Oct 08 '21 12:10 AndreyPoznyak

Did you manage to handle it somehow??

invertercant avatar Sep 14 '23 08:09 invertercant

Any solution to this issue?

HKdAlex avatar Oct 22 '23 18:10 HKdAlex