回放修改

This commit is contained in:
guoshengxiong 2024-05-21 10:58:16 +08:00
parent df1fbdf7e7
commit 18b692117e

View File

@ -528,7 +528,7 @@ public class HikVideoUtil {
log.info("调用获取监控点回放取流URLv2中心存储方式cameraIndexCode{}", cameraIndexCode);
JSONObject jsonObject = callPostPlaybackURLsV2(cameraIndexCode, 0, protocol, transmode, beginTime, endTime, uuid, expand, streamform, lockType, Ip, port, appke, appSecret);
if (jsonObject.getString("code").equals("0") && jsonObject.getJSONObject("data").getJSONArray("list") != null && jsonObject.getJSONObject("data").getJSONArray("list").size() > 0) {
return jsonObject;
return JSONObject.parseObject(jsonObject.getString("data"));
}
log.info("调用获取监控点回放取流URLv2设备存储方式cameraIndexCode{}", cameraIndexCode);
jsonObject = callPostPlaybackURLsV2(cameraIndexCode, 1, protocol, transmode, beginTime, endTime, uuid, expand, streamform, lockType, Ip, port, appke, appSecret);