buffer - MediaPlayer,AudioPlayer,ExoPlayer or? -
i need advice streaming radio application. right have created using mediaplayer, , problem older/slower devices take 20 seconds buffer. there solution problem,without making enormous changes.
i had similar problems in past , there no easy solution.
one way go https://code.google.com/p/android-openmxplayer/ didn't try it.
things have changed bit , exoplayer seems viable alternative if api requirement 16 , above. have worked bit exoplayer , once going it's compared mediaplayer
if must support below api level 16, god you.
see posts wrote @ time:
http://www.piterwilson.com/blog/2014/03/11/android-mediaplayer-not-quite-there-yet/
http://www.piterwilson.com/blog/2014/03/15/mediacodec-mediaextractor-and-audiotrack-to-the-rescue/
Comments
Post a Comment