Yifan Zhu sorry, I have no experience with VLCKit or ijkPlayer.

It seems to me you are trying to use these frameworks in order to create a cross-platform solution. If you don’t find any solution, maybe you can use some of Android’s libraries to get the OpenGL data from a video if Android provides such functionality (you already have my example which covers iOS).

That way, you will have only these parts as platform-specific, and the rest of your code can be portable.

Software Architect, currently @ Vodafone GR. Past: Lead Dev @ Intrasoft Intl, atcom.gr and more. Crafting apps & web services since 2007. https://oramind.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store