When I press the home button and exit the app, streaming stops or I cannot hear.
How can I continue streaming in background and listen it from lock screen?
See this in stackoverflow
try AVAudioSession.sharedInstance().setCategory(.playback, mode: .default, options: [.mixWithOthers...
I have been streaming an online radio with imedia lib but it seems it now deprecated so I switched to iui8 lib but my problem is the streaming pauses when the app looses focus or the screen goes off.
I need a continuous play in the background, please help