-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
I have multiple SmothStreaming content that plays well on exoplayer in multiple devices.
However on a specific device, Gionee Elife E3 (http://www.gsmarena.com/gionee_elife_e3-6085.php) it doesn't work.
I hit play, the player starts buffering, but it never enters the state READY and the playback doesn't start.
I've increased the buffer to a point it loads all the video but it never changes to READY state.
After poking around a bit, i discover if i forced MediaCodecUtil.getDecoderInfo to return OMX.google.aac.decoder instead of OMX.MTK.AUDIO.DECODER.AAC the content plays.
I've tested on other devices that use the same decoder (OMX.MTK.AUDIO.DECODER.AAC) with the same content and it works fine, so i guess the problem is only with this device.
My question is, is there anyway i can force exoplayer to use OMX.google.aac.decoder without having to change exoplayer internal classes?