| | |
| | | "'${ipAddress}', ${port}, '${password}', ${PTZType}, ${status})") |
| | | 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 device_channel " + |
| | | "SET deviceId='${deviceId}'" + |
| | |
| | | |
| | | /** |
| | | * 分页查询通道数 |
| | | * @param deviceId 设备id |
| | | * @param page 当前页 |
| | | * @param count 每页条数 |
| | | * @return 通道列表 |
| | | */ |
| | | /** |
| | | * 分页查询通道数 |
| | | * |
| | | * @param deviceId 设备id |
| | | * @param page 当前页 |
| | |
| | | // 超时处理 |
| | | result.onTimeout(()->{ |
| | | logger.warn(String.format("设备预览/回放停止超时,streamId:%s ", streamId)); |
| | | |
| | | RequestMessage msg = new RequestMessage(); |
| | | msg.setId(DeferredResultHolder.CALLBACK_CMD_STOP + uuid); |
| | | msg.setData("Timeout"); |
| | |
| | | @Autowired |
| | | private IRedisCatchStorage redisCatchStorage; |
| | | |
| | | private boolean closeWaitRTPInfo = false; |
| | | |
| | | |
| | | @Autowired |
| | | private ZLMRESTfulUtils zlmresTfulUtils; |