Commit 8801c7741bc0828425251327a62f6e20dada4132

Authored by Lawrence
1 parent e739c379

与2.0同步修改

src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
@@ -19,15 +19,6 @@ public interface DeviceChannelMapper { @@ -19,15 +19,6 @@ public interface DeviceChannelMapper {
19 "'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})") 19 "'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})")
20 int add(DeviceChannel channel); 20 int add(DeviceChannel channel);
21 21
22 -// @Update("UPDATE device_channel " +  
23 -// "SET name=#{name}, manufacture=#{manufacture}, model=#{model}, owner=#{owner}, civilCode=#{civilCode}, " +  
24 -// "block=#{block}, address=#{address}, parental=#{parental}, parentId=#{parentId}, safetyWay=#{safetyWay}, " +  
25 -// "registerWay=#{registerWay}, certNum=#{certNum}, certifiable=#{certifiable}, errCode=#{errCode}, secrecy=#{secrecy}, " +  
26 -// "ipAddress=#{ipAddress}, port=#{port}, password=#{password}, PTZType=#{PTZType}, status=#{status}, streamId=#{streamId}, " +  
27 -// "hasAudio=#{hasAudio}" +  
28 -// "WHERE deviceId=#{deviceId} AND channelId=#{channelId}")  
29 -  
30 -  
31 @Update(value = {" <script>" + 22 @Update(value = {" <script>" +
32 "UPDATE device_channel " + 23 "UPDATE device_channel " +
33 "SET deviceId='${deviceId}'" + 24 "SET deviceId='${deviceId}'" +
src/main/java/com/genersoft/iot/vmp/vmanager/device/DeviceController.java
@@ -63,13 +63,6 @@ public class DeviceController { @@ -63,13 +63,6 @@ public class DeviceController {
63 63
64 /** 64 /**
65 * 分页查询通道数 65 * 分页查询通道数
66 - * @param deviceId 设备id  
67 - * @param page 当前页  
68 - * @param count 每页条数  
69 - * @return 通道列表  
70 - */  
71 - /**  
72 - * 分页查询通道数  
73 * 66 *
74 * @param deviceId 设备id 67 * @param deviceId 设备id
75 * @param page 当前页 68 * @param page 当前页
src/main/java/com/genersoft/iot/vmp/vmanager/play/PlayController.java
@@ -169,7 +169,6 @@ public class PlayController { @@ -169,7 +169,6 @@ public class PlayController {
169 // 超时处理 169 // 超时处理
170 result.onTimeout(()->{ 170 result.onTimeout(()->{
171 logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId)); 171 logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId));
172 -  
173 RequestMessage msg = new RequestMessage(); 172 RequestMessage msg = new RequestMessage();
174 msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid); 173 msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid);
175 msg.setData("Timeout"); 174 msg.setData("Timeout");
src/main/java/com/genersoft/iot/vmp/web/ApiStreamController.java
@@ -39,8 +39,6 @@ public class ApiStreamController { @@ -39,8 +39,6 @@ public class ApiStreamController {
39 @Autowired 39 @Autowired
40 private IRedisCatchStorage redisCatchStorage; 40 private IRedisCatchStorage redisCatchStorage;
41 41
42 - private boolean closeWaitRTPInfo = false;  
43 -  
44 42
45 @Autowired 43 @Autowired
46 private ZLMRESTfulUtils zlmresTfulUtils; 44 private ZLMRESTfulUtils zlmresTfulUtils;