goe
goe

Reputation: 2303

Best choice to represent video for iOS and Android

I am developing an app for iOS and Android to make a video call between two devices. The idea is to develop one c++ library for both platforms, and to integrate the comunication and display parts in the same way. For compatibility reasons, I am using OpenGL to represent the video, and FFMPEG to encode the comunication, but in some other questions (like here) I have read that it is not the best option for Android. Although, I have realized that on iOS, the opengl approach is faster than the native approach I have tested. So the question is: For Android, which is the alternative to OpenGL, but using JNI? Is there any?

Upvotes: 4

Views: 494

Answers (1)

Jack
Jack

Reputation: 440

You can use OpenGL ES, a flavor of the OpenGL specification intended for embedded devices. This version is also optimized for mobile devices. OpenGL ES is available for Android and iOS.

The following SO questions can get you in the right direction when it comes to implementing this:

Upvotes: 1

Related Questions