Exoplayer about 10 or 15 minutes the application closes when the screen turns off

See here from my 3rd link:

Note: The Player component does not loop seamlessly since Android 6. The TaifunPlayer does not loop gaplessly on specific Chinese devices (OnePlus, Xiaomi, …) anymore. (Finally I found the reason for this: these manufacturers fade out audio tracks with a length ≥ 30000ms for 165ms, which creates the gap.)

I wrote to OnePlus and explained this issue and we are still in discussion about it.

2 Likes

can you type me the code you use in set activity starter1 action because my app stop after streaming for 15 mins when using taifun and exoplayer. i really need help on this

Which device & Android version are you using?

Tecno camon 12 pro and andriod 9 version

Unfortunately, there seems to be no solution to the problem with some devices when streaming sounds. We have discussed this problem extensively in all AI forums. Not even deactivating battery optimization will bring long-term success.

okay, thanks. do you have idea how i can load my podcast to my app using my podcast rss.
can you also help on this when i press play button it takes 5 to 6 seconds before player starts streaming and i mistakenly press any button my app becomes not responding and the app close. what do you think i can do that when user press play the user wont have access to press anything until the app start playing

Which audio format do you use (mp3, ogg, m4a, flac, …)?

mp3 audio format

the site offers mp3 and aac, should i pick aac. the site only offers mp3 and aac audio format

No, mp3 should be the best format to have short buffer times. Maybe the internet connection is the problem.

should i reduce the buffer for streaming

give it a try, but I don’t think it will help

1 Like

okay thanks

Possible solution !

I’ve found a solution to this issue, see here:

ok going to edit the manifest file meself, off to Android forums. slight_smile:

2 posts were merged into an existing topic: Export screens project