2015-04-02 63 views
0

當我使用Android ExoPlayer加載內容類型「audio/aacp」流時,有一個例外<'OMX.qcom.audio.decoder.aac'已經存在,忽略這個。>。但是我的球員在得到這個例外之後正在工作。如何處理這個問題以及它爲什麼發生。Android ExoPlayer問題

示例代碼

SampleSource s = new DefaultSampleSource(new FrameworkSampleExtractor(getApplicationContext(), Uri.parse(path), null), 2) 

ExoPlayer player = ExoPlayer.Factory.newInstance(1); 

MediaCodecAudioTrackRenderer audioRenderer = new MediaCodecAudioTrackRenderer(s); 
player.prepare(audioRenderer); 

player.setPlayWhenReady(true); 

回答

0

我已經看到了Android框架緩存被加載到內存中,如果其他應用程序要重新初始化它重新使用它的OMX編解碼器。可能是你在這裏看到這個日誌。但我不認爲它會拋出異常。