mediaplayerservices

How do I create a custom media player to play a custom codec in Android?

≯℡__Kan透↙ 提交于 2021-02-05 20:30:32
问题 n00b here (first Android project). I have been given a custom video codec that has been integrated with an Android firmware build. It's an .so file containing a class that inherits from MediaPlayerInterface, as well as a custom MediaPlayerService implementation to return instances of the custom codec class from the create() factory function for the appropriate file types. I want to use this codec as part of a video player application that can be installed on phones that do not contain the

How do I create a custom media player to play a custom codec in Android?

跟風遠走 提交于 2021-02-05 20:28:31
问题 n00b here (first Android project). I have been given a custom video codec that has been integrated with an Android firmware build. It's an .so file containing a class that inherits from MediaPlayerInterface, as well as a custom MediaPlayerService implementation to return instances of the custom codec class from the create() factory function for the appropriate file types. I want to use this codec as part of a video player application that can be installed on phones that do not contain the