-
Notifications
You must be signed in to change notification settings - Fork 523
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
Player sometime never leaves STKAudioPlayerStateBuffering state #433
Comments
I've found that this error comes up because of issues with starting the AUGraph. AUGraphStart gets called and returns a successful status of 0. BUT the OutputRenderCallback is not being called. Any ideas why this could be? |
Hi! |
This hasn't helped at all unfortunately! The AUGraphStart call is not actually starting the graph/callback functions. Does anyone have any idea how to fix this? |
In your method - (void)setupPlayer, try setting bufferSizeInSeconds to 10 seconds instead of 2 seconds. |
As one of the options for the occurrence of such a problem, there may be initialization of AudioSession and Remote Control. These actions must be performed before the player is first initialized and preferably as early as possible. |
We are experience similar issues - it's for iOS 13 only and we are able to reproduce it when playing audios on 3G - buffering seems to be broken for both foreground and background playing. |
Is this issue relative to the #398 one? |
No - we are playing from valid URLa, but on crappy 3G connection buffering sometimes just does not resume playing and StreamingKit stucks after usually 2-3 minutes of playing - it goes to buffering and never recovers from there even by calling “play” again.
…Sent from my iPhone
On 23 Nov 2019, at 08:06, Patrick ***@***.***> wrote:
Is this issue relative to the #398 one?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'm using this library to build a radio iOS app that has a directory of Icecast streams that the user can click on and listen to.
This library works very well 95% of the time, but 5% of the time, the player gets stuck in the
STKAudioPlayerStateBuffering
state and never changes, not reporting any errors at all. It seems like some kind of a race condition. Any idea why this could be happening?Any ideas at all on where to look?
Thanks
Zach
The text was updated successfully, but these errors were encountered: