与2.0同步修改
This commit is contained in:
parent
ef51d17dd2
commit
62342c6d37
@ -19,15 +19,6 @@ public interface DeviceChannelMapper {
|
|||||||
"'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})")
|
"'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})")
|
||||||
int add(DeviceChannel channel);
|
int add(DeviceChannel channel);
|
||||||
|
|
||||||
// @Update("UPDATE device_channel " +
|
|
||||||
// "SET name=#{name}, manufacture=#{manufacture}, model=#{model}, owner=#{owner}, civilCode=#{civilCode}, " +
|
|
||||||
// "block=#{block}, address=#{address}, parental=#{parental}, parentId=#{parentId}, safetyWay=#{safetyWay}, " +
|
|
||||||
// "registerWay=#{registerWay}, certNum=#{certNum}, certifiable=#{certifiable}, errCode=#{errCode}, secrecy=#{secrecy}, " +
|
|
||||||
// "ipAddress=#{ipAddress}, port=#{port}, password=#{password}, PTZType=#{PTZType}, status=#{status}, streamId=#{streamId}, " +
|
|
||||||
// "hasAudio=#{hasAudio}" +
|
|
||||||
// "WHERE deviceId=#{deviceId} AND channelId=#{channelId}")
|
|
||||||
|
|
||||||
|
|
||||||
@Update(value = {" <script>" +
|
@Update(value = {" <script>" +
|
||||||
"UPDATE device_channel " +
|
"UPDATE device_channel " +
|
||||||
"SET deviceId='${deviceId}'" +
|
"SET deviceId='${deviceId}'" +
|
||||||
|
@ -61,13 +61,6 @@ public class DeviceController {
|
|||||||
return storager.queryVideoDeviceList(page, count);
|
return storager.queryVideoDeviceList(page, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 分页查询通道数
|
|
||||||
* @param deviceId 设备id
|
|
||||||
* @param page 当前页
|
|
||||||
* @param count 每页条数
|
|
||||||
* @return 通道列表
|
|
||||||
*/
|
|
||||||
/**
|
/**
|
||||||
* 分页查询通道数
|
* 分页查询通道数
|
||||||
*
|
*
|
||||||
|
@ -169,7 +169,6 @@ public class PlayController {
|
|||||||
// 超时处理
|
// 超时处理
|
||||||
result.onTimeout(()->{
|
result.onTimeout(()->{
|
||||||
logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId));
|
logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId));
|
||||||
|
|
||||||
RequestMessage msg = new RequestMessage();
|
RequestMessage msg = new RequestMessage();
|
||||||
msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid);
|
msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid);
|
||||||
msg.setData("Timeout");
|
msg.setData("Timeout");
|
||||||
|
@ -39,8 +39,6 @@ public class ApiStreamController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private IRedisCatchStorage redisCatchStorage;
|
private IRedisCatchStorage redisCatchStorage;
|
||||||
|
|
||||||
private boolean closeWaitRTPInfo = false;
|
|
||||||
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private ZLMRESTfulUtils zlmresTfulUtils;
|
private ZLMRESTfulUtils zlmresTfulUtils;
|
||||||
|
Loading…
Reference in New Issue
Block a user