EasyPlayer supports x86 and arm64 ABI

Not long ago, EasyPlayer only supported armeabi-v7a version abi - how to say it - usually enough. Because Android's support for ABI is compatible with non-arm architecture, it can be compatible with the dynamic library of ARM architecture in some way.

But this does hurt some performance. . In line with the attitude of excellence, we plan to support some mainstream CPU architectures, typically arm64 and x86.

It mainly involves the modification of the following libraries:
- libEasyRTSPClient
- libAudioCodecer
- libVideoCodecer

Since the latter two use ffmpeg at the same time, the ffmpeg dynamic library
- libproffmpeg is introduced

The bottom set is to do some manual work of cross-compilation, because some large open source projects cannot be compiled simply by the typical compilation method in NDK - you need to compile the cross-compilation chain by yourself (standalone toolchain, for the specific method, please refer to:
https: //developer.android.com/ndk/guides/standalone_toolchain.html ) and cross-compile.

The main changes in the upper layer are to convert some int types to long types. The reason for this can be found in this blog:

http://blog.csdn.net/jyt0551/article/details/53575515

Therefore, after compiling ok, several additional dynamic library files are added, which will cause the program size to double, but in my country without GooglePlay, there is no good way to encounter this kind of thing. .

Other than that, the program did not encounter any exceptions.

In addition, after supporting x86, debugging on the simulator is faster than the real machine. This is a very happy thing, and there is no need to frequently plug and unplug the data cable to the love machine! !

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325561158&siteId=291194637