Skip to content

It never plays next remote url when iPhone is locked #162

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

Open
AndreyPoznyak opened this issue Oct 8, 2021 · 2 comments
Open

It never plays next remote url when iPhone is locked #162

AndreyPoznyak opened this issue Oct 8, 2021 · 2 comments
Assignees

Comments

@AndreyPoznyak
Copy link

AndreyPoznyak commented Oct 8, 2021

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 AndreyPoznyak changed the title It never plays next remote url on celluar connection when iPhone is locked It never plays next remote url when iPhone is locked Oct 8, 2021
@tanhakabir tanhakabir self-assigned this Oct 9, 2021
@invertercant
Copy link

invertercant commented Sep 14, 2023

Did you manage to handle it somehow??

@HKdAlex
Copy link

HKdAlex commented Oct 22, 2023

Any solution to this issue?

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

4 participants