视频修改

This commit is contained in:
guoshengxiong 2024-05-19 09:45:44 +08:00
parent f92d38f487
commit d8bf23e115

View File

@ -687,6 +687,9 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
String streamform = MapUtils.getString(map, "streamform");
String lockType = MapUtils.getString(map, "lockType");
ProjectVideoConfig projectVideoConfig = getEnableProjectVideoConfigByProjectSn(map);
if (projectVideoConfig == null) {
return null;
}
if (projectVideoConfig.getVideoType() == 3) {
return HikVideoUtil.callPostPlaybackURLsV2(cameraIndexCode, recordLocation, protocol, transmode, beginTime, endTime, uuid, expand, streamform, lockType, projectVideoConfig.getAccount(), projectVideoConfig.getPassword(), projectVideoConfig.getAppId(), projectVideoConfig.getAppSecret());
} else {