SwiftAudioPlayer
SwiftAudioPlayer copied to clipboard
It never plays next remote url when iPhone is locked
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
Did you manage to handle it somehow??
Any solution to this issue?