android

implement native media player on android

jackyjung 2014. 3. 13. 17:54



https://vec.io/posts/use-android-hardware-decoder-with-omxcodec-in-ndk


stagefright class diagram

http://infectiousansh.blogspot.kr/2010/09/stagefright-player-and-its-class.html


NuPlayer

http://freepine.blogspot.kr/2012_11_01_archive.html


And same as 4.1, we can enable NuPlayer as the default media engine for local & http playback with a system property "media.stagefright.use-nuplayer".
However, compared to Awesomeplayer, there are still some functional gaps to fully switch to NuPlayer: