回放修改
This commit is contained in:
parent
df1fbdf7e7
commit
18b692117e
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user