Skip to content
Snippets Groups Projects
Commit 9e12df1b authored by Leo Ma's avatar Leo Ma
Browse files

Add abiFilters property in gradle building


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent d55ad960
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -10,6 +10,9 @@ android {
targetSdkVersion 22
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
buildTypes {
release {
Loading
Loading
Loading
Loading
@@ -11,7 +11,9 @@ android {
versionName "2.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
buildTypes {
release {
Loading
Loading
Loading
Loading
@@ -473,11 +473,8 @@ public class SrsEncoder {
private native void setEncoderGop(int gop);
private native void setEncoderBitrate(int bitrate);
private native void setEncoderPreset(String preset);
private native byte[] NV21ToI420(byte[] yuvFrame, int width, int height, boolean flip, int rotate);
private native byte[] NV21ToNV12(byte[] yuvFrame, int width, int height, boolean flip, int rotate);
private native byte[] RGBAToI420(byte[] rgbaFrame, int width, int height, boolean flip, int rotate);
private native byte[] RGBAToNV12(byte[] rgbaFrame, int width, int height, boolean flip, int rotate);
private native int NV21SoftEncode(byte[] yuvFrame, int width, int height, boolean flip, int rotate, long pts);
private native int RGBASoftEncode(byte[] rgbaFrame, int width, int height, boolean flip, int rotate, long pts);
private native boolean openSoftEncoder();
private native void closeSoftEncoder();
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment