From 2b43077d967c28fe99e1ff2b99f19e1433c710d9 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 17 八月 2017 12:28:36 +0800
Subject: [PATCH] aaaaa

---
 VisitFace/RtspNativeCodec/build.gradle                                               |    2 +-
 VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/NativeCodec.java |   10 +++++-----
 VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperServer.cpp                   |    2 --
 VisitFace/RtspNativeCodec/RtspNativeCodec.iml                                        |    2 +-
 VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperClient.cpp                   |    2 --
 VisitFace/RtspNativeCodec/app/src/main/cpp/RtspNativeCodecJNIClient.cpp              |    2 +-
 6 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/VisitFace/RtspNativeCodec/RtspNativeCodec.iml b/VisitFace/RtspNativeCodec/RtspNativeCodec.iml
index cbf0f33..23f2aeb 100644
--- a/VisitFace/RtspNativeCodec/RtspNativeCodec.iml
+++ b/VisitFace/RtspNativeCodec/RtspNativeCodec.iml
@@ -13,7 +13,7 @@
     <content url="file://$MODULE_DIR$">
       <excludeFolder url="file://$MODULE_DIR$/.gradle" />
     </content>
-    <orderEntry type="jdk" jdkName="JDK" jdkType="JavaSDK" />
+    <orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
     <orderEntry type="sourceFolder" forTests="false" />
   </component>
 </module>
\ No newline at end of file
diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperClient.cpp b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperClient.cpp
index 6d52346..e2d99da 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperClient.cpp
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperClient.cpp
@@ -5,7 +5,6 @@
 #include <PL_Gainer.h>
 #include <PL_Paint.h>
 #include <PL_Scale.h>
-#include <PL_V4L2Source.h>
 #include <PL_BlockGrouping.h>
 #include <PL_ColorConv.h>
 #include <PL_AndroidMediaCodecEncoder.h>
@@ -103,7 +102,6 @@
     PipeLine::register_global_elem_creator("PL_Scale", create_PL_Scale);
     PipeLine::register_global_elem_creator("PL_ColorConv", create_PL_ColorConv);
     PipeLine::register_global_elem_creator("PL_Paint", create_PL_Paint);
-    PipeLine::register_global_elem_creator("PL_V4L2Source", create_PL_V4L2Source);
 
     bool ret = initPl_DecoderPl();
     if (!ret)
diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperServer.cpp b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperServer.cpp
index 6218451..e084d8d 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperServer.cpp
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperServer.cpp
@@ -6,7 +6,6 @@
 #include <PL_Gainer.h>
 #include <PL_Paint.h>
 #include <PL_Scale.h>
-#include <PL_V4L2Source.h>
 #include <PL_BlockGrouping.h>
 #include <PL_ColorConv.h>
 #include <PL_AndroidMediaCodecEncoder.h>
@@ -101,7 +100,6 @@
     PipeLine::register_global_elem_creator("PL_Scale", create_PL_Scale);
     PipeLine::register_global_elem_creator("PL_ColorConv", create_PL_ColorConv);
     PipeLine::register_global_elem_creator("PL_Paint", create_PL_Paint);
-    PipeLine::register_global_elem_creator("PL_V4L2Source", create_PL_V4L2Source);
     PipeLine::register_global_elem_creator("PL_BlockGrouping", create_PL_BlockGrouping);
 	PipeLine::register_global_elem_creator("PL_AndroidMediaCodecEncoder", create_PL_AndroidMediaCodecEncoder);
 	PipeLine::register_global_elem_creator("PL_RTSPServer2", create_PL_RTSPServer2);
diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/RtspNativeCodecJNIClient.cpp b/VisitFace/RtspNativeCodec/app/src/main/cpp/RtspNativeCodecJNIClient.cpp
index 10ea530..ae204ec 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/RtspNativeCodecJNIClient.cpp
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/RtspNativeCodecJNIClient.cpp
@@ -56,7 +56,7 @@
 
 void Java_cn_com_basic_face_util_RtspFaceNative_init(JNIEnv *env, jclass clazz)
 {
-    g_logger.set_level(VERBOSE);
+    g_logger.set_level(INFO);
 
     cpu_sched();
 
diff --git a/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/NativeCodec.java b/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/NativeCodec.java
index 4226691..9289265 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/NativeCodec.java
+++ b/VisitFace/RtspNativeCodec/app/src/main/java/com/example/nativecodec/NativeCodec.java
@@ -104,7 +104,7 @@
         //    RtspFaceNative.setFaceLabel(2, i+1, "abcd");
         //}
 
-        RtspFaceNative.setLocalIP("192.168.1.112");
+        RtspFaceNative.setLocalIP("192.168.1.93");
 
         mGLView1 = (MyGLSurfaceView) findViewById(R.id.glsurfaceview1);
 
@@ -299,8 +299,8 @@
                         //mCreated = RtspFaceNative.createPlayer(1, "rtsp://admin:admin@192.168.1.188:554/cam/realmonitor?channel=1&subtype=2");
                         //mCreated = RtspFaceNative.createPlayer(2, "rtsp://admin:admin12345@192.168.1.202:554/h264/ch1/main/av_stream");
                         //mCreated = RtspFaceNative.createPlayer(2, "rtsp://Admin:1234@192.168.1.22/h264");
-                        //mCreated = RtspFaceNative.createPlayer(1, "rtsp://admin:a1234567@192.168.1.201:554/h264/ch1/main/av_stream");
-                        mCreated = RtspFaceNative.createPlayer(1, "rtsp://192.168.1.94:8554");
+                        mCreated = RtspFaceNative.createPlayer(1, "rtsp://admin:a1234567@192.168.1.201:554/h264/ch1/main/av_stream");
+                        //mCreated = RtspFaceNative.createPlayer(1, "rtsp://192.168.1.94:8554");
 
                         //byte[] arr = new byte[5];
                         //arr[0] = 3; arr[1] = 4; arr[2] = 5;
@@ -492,8 +492,8 @@
 
     /** Load jni .so on initialization */
     static {
-        System.loadLibrary("rtspface_client");
-        //System.loadLibrary("rtspface_server");
+        //System.loadLibrary("rtspface_client");
+        System.loadLibrary("rtspface_server");
         //System.loadLibrary("opencv_java3");
     }
 
diff --git a/VisitFace/RtspNativeCodec/build.gradle b/VisitFace/RtspNativeCodec/build.gradle
index ebd27da..948722c 100644
--- a/VisitFace/RtspNativeCodec/build.gradle
+++ b/VisitFace/RtspNativeCodec/build.gradle
@@ -4,7 +4,7 @@
         jcenter()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:2.2.3'
+        classpath 'com.android.tools.build:gradle:2.3.3'
     }
 }
 allprojects {

--
Gitblit v1.8.0