apti
Member
I have an audio player app that is being worked on. I am using exoplayer to do the lifting. I have mp3 playing with it fine. no issues at all including while the screen is off. background service handles all the music and can play mp3 for hours without interruption. However I am using the same thing, exoplayer to play internet radio streams. It works. Great thing so I can do it all in one place. however when on an internet stream I get different results. The music stream stops every 3 minutes shortly after the screen turns off. If I bring the screen back up the music picks up and plays again but stops after 3 minutes.
I am using createurisource and all works. something is stopping the stream after the device does dark, unlike the mp3 it is not playing background.
Can somebody tell me what is doing this and how to stop it?
I am using createurisource and all works. something is stopping the stream after the device does dark, unlike the mp3 it is not playing background.
Can somebody tell me what is doing this and how to stop it?