Exoplayer Doesn't Play Audio On Devices Which Use Ffmpeg
Solution 1:
Exoplayer now has an application-level media extractor (currently on the dev branch) which avoids this issue entirely as it doesn't run through Android's broken MediaExtractor.
Check out the demo app's PlayerActivity and ExtractorRendererBuilder to get an idea of how to use it.
Solution 2:
To me this looks like a bug specific to Huawei Mate 7 's Android framework. The bug is that MediaExtractor does not work correctly for server hosted MP3 files. You could prove it by using the same server hosted MP3 URL and play it using some other app that uses Android's MediaPlayer. You will find innumerable sample code or APKs that use MediaPlayer online.
Quick google search gave http://examples.javacodegeeks.com/android/android-mediaplayer-example/http://code.tutsplus.com/tutorials/create-a-music-player-on-android-song-playback--mobile-22778
Post a Comment for "Exoplayer Doesn't Play Audio On Devices Which Use Ffmpeg"