muhku / FreeStreamer

A low-memory footprint streaming audio player for iOS and OS X

Home Page:http://muhku.github.io/FreeStreamer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playing stops on background

Razikhan111 opened this issue · comments

"stateChangeWith" delegate method enter in (case .fsAudioStreamFailed:) when my app is on background.
case .fsAudioStreamRetryingStarted: not working on background
It works when app is on foreground but when app is on background and audio file failed to play then it can't call retryingStarted.
Please help me.
Thank you.

      case .fsAudioStreamFailed:
           print("Audio file failed to load")
           UIApplication.shared.isNetworkActivityIndicatorVisible = false

@Razikhan111 - are you experiencing this on iOS 13 Beta / or are you on iOS 12? I'm experiencing similar issues using StreamingKit (/tumtumtum/StreamingKit) on iOS 13, so might be effecting both streaming libraries.