Browse Source

心跳逻辑修改

gao.qiang 9 months atrás
parent
commit
8e689adc99

+ 2 - 2
vehicle-sdk/src/main/java/com/ozs/controller/upload/GeoHazardMonitorTokenController.java

@@ -866,7 +866,7 @@ public class GeoHazardMonitorTokenController {
                                     List<CameraVos> cameraVosList = new ArrayList<>();
                                     cameraVosList.add(cameraVos);
                                     respHeartbeatVo.setCameraList(cameraVosList);
-                                    respHeartbeatVo.setIsAlarm(2);
+                                    respHeartbeatVo.setIsAlarm(1);
                                     twoMap.put("currentStream", playFlv1);
                                     twoMap.put("cameraCode", baseCameraManagementList.get(0).getCameraCode());
                                 }
@@ -1050,7 +1050,7 @@ public class GeoHazardMonitorTokenController {
                                 List<CameraVos> cameraVosList = new ArrayList<>();
                                 cameraVosList.add(cameraVos);
                                 respHeartbeatVo.setCameraList(cameraVosList);
-                                respHeartbeatVo.setIsAlarm(2);
+                                respHeartbeatVo.setIsAlarm(1);
                                 twoMap.put("currentStream", playFlv1);
                                 twoMap.put("cameraCode", baseCameraManagementList.get(0).getCameraCode());
                             }