|
|
@@ -25,9 +25,10 @@ public class GetCameraPreviewURL {
|
|
|
}
|
|
|
|
|
|
public static String GetCameraPreviewURL() {
|
|
|
- ArtemisConfig.host = "192.168.161.72:443";
|
|
|
- ArtemisConfig.appKey = "29849943";
|
|
|
- ArtemisConfig.appSecret = "e1eXZtEvJhi4waZmSgmd";
|
|
|
+// ArtemisConfig.host = "192.168.161.72:443";
|
|
|
+ ArtemisConfig.host = "172.16.7.200:443";
|
|
|
+ ArtemisConfig.appKey = "22263265";
|
|
|
+ ArtemisConfig.appSecret = "fPjOY3vB865ACoQNj6yj";
|
|
|
String ARTEMIS_PATH = "/artemis";
|
|
|
String previewURLsApi = "/artemis/api/eventService/v1/eventSubscriptionByEventTypes";
|
|
|
Map<String, String> path = new HashMap<String, String>(2) {
|
|
|
@@ -47,9 +48,10 @@ public class GetCameraPreviewURL {
|
|
|
}
|
|
|
|
|
|
public static String CameraPreviewURL(String url, JSONObject jsonBody) {
|
|
|
- ArtemisConfig.host = "192.168.161.72:443";
|
|
|
- ArtemisConfig.appKey = "29849943";
|
|
|
- ArtemisConfig.appSecret = "e1eXZtEvJhi4waZmSgmd";
|
|
|
+// ArtemisConfig.host = "192.168.161.72:443";
|
|
|
+ ArtemisConfig.host = "172.16.7.200:443";
|
|
|
+ ArtemisConfig.appKey = "22263265";
|
|
|
+ ArtemisConfig.appSecret = "fPjOY3vB865ACoQNj6yj";
|
|
|
String ARTEMIS_PATH = "/artemis";
|
|
|
final String previewURLsApi = "/artemis" + url;
|
|
|
Map<String, String> path = new HashMap<String, String>(2) {
|
|
|
@@ -64,9 +66,10 @@ public class GetCameraPreviewURL {
|
|
|
}
|
|
|
|
|
|
public static String CameraPreviewURL2(String url, JSONArray jsonBody) {
|
|
|
- ArtemisConfig.host = "192.168.161.72:443";
|
|
|
- ArtemisConfig.appKey = "29849943";
|
|
|
- ArtemisConfig.appSecret = "e1eXZtEvJhi4waZmSgmd";
|
|
|
+// ArtemisConfig.host = "192.168.161.72:443";
|
|
|
+ ArtemisConfig.host = "172.16.7.200:443";
|
|
|
+ ArtemisConfig.appKey = "22263265";
|
|
|
+ ArtemisConfig.appSecret = "fPjOY3vB865ACoQNj6yj";
|
|
|
String ARTEMIS_PATH = "/artemis";
|
|
|
final String previewURLsApi = "/artemis" + url;
|
|
|
Map<String, String> path = new HashMap<String, String>(2) {
|
|
|
@@ -84,16 +87,16 @@ public class GetCameraPreviewURL {
|
|
|
JSONObject jsonBody = new JSONObject();
|
|
|
|
|
|
// 人脸比对
|
|
|
-// int[] ingArr=new int[]{131659};
|
|
|
+ int[] ingArr=new int[]{131659};
|
|
|
// String url = "http://192.168.161.224:8080/wanzai/eventRcv/faceComparison";
|
|
|
// String url = "https://www.campussmartlife.com/smartApi/wanzai/eventRcv/faceComparison";
|
|
|
-// String url = "http://122.51.35.116:8080/wanzai/eventRcv/faceComparison";
|
|
|
+ String url = "http://122.51.35.116:8080/wanzai/eventRcv/faceComparison";
|
|
|
|
|
|
// 区域入侵,进入区域,离开区域,倒地
|
|
|
- int[] ingArr=new int[]{131588,131586,131587,131605};
|
|
|
+// int[] ingArr=new int[]{131588,131586,131587,131605};
|
|
|
// String url = "http://192.168.161.224:8080/wanzai/eventRcv/subscription";
|
|
|
// String url = "https://www.campussmartlife.com/smartApi/wanzai/eventRcv/subscription";
|
|
|
- String url = "http://122.51.35.116:8080/wanzai/eventRcv/subscription";
|
|
|
+// String url = "http://122.51.35.116:8080/wanzai/eventRcv/subscription";
|
|
|
|
|
|
// 重点人员识别事件
|
|
|
// int[] ingArr = new int[]{1644175361};
|