| | |
| | | |
| | | /** |
| | | * Query all camera data that can be live streamed from this device based on the device sn. |
| | | * 根据设备序列号查询该设备可直播的所有摄像头数据。 |
| | | * @param deviceSn |
| | | * @return |
| | | */ |
| | | List<CapacityCameraDTO> getCapacityCameraByDeviceSn(String deviceSn); |
| | | |
| | | /** |
| | | * Query whether this camera data has been saved based on the device sn and camera location. |
| | | * @param deviceSn |
| | | * @param cameraIndex |
| | | * @return |
| | | */ |
| | | Boolean checkExist(String deviceSn, String cameraIndex); |
| | | |
| | | /** |
| | | * Delete all live capability data for this device based on the device sn. |
| | |
| | | * Save the live capability data of the device. |
| | | * @param capacityCameraReceivers |
| | | * @param deviceSn |
| | | * @param timestamp |
| | | */ |
| | | void saveCapacityCameraReceiverList(List<CapacityCameraReceiver> capacityCameraReceivers, String deviceSn, Long timestamp); |
| | | |
| | | /** |
| | | * Convert the received camera capability object into camera data transfer object. |
| | | * @param receiver |
| | | * @return |
| | | */ |
| | | Boolean saveCapacityCameraReceiverList(List<CapacityCameraReceiver> capacityCameraReceivers, String deviceSn); |
| | | |
| | | CapacityCameraDTO receiver2Dto(CapacityCameraReceiver receiver); |
| | | } |