视频修改
This commit is contained in:
parent
f92d38f487
commit
d8bf23e115
@ -687,6 +687,9 @@ public class VideoItemServiceImpl extends ServiceImpl<VideoItemMapper, VideoItem
|
|||||||
String streamform = MapUtils.getString(map, "streamform");
|
String streamform = MapUtils.getString(map, "streamform");
|
||||||
String lockType = MapUtils.getString(map, "lockType");
|
String lockType = MapUtils.getString(map, "lockType");
|
||||||
ProjectVideoConfig projectVideoConfig = getEnableProjectVideoConfigByProjectSn(map);
|
ProjectVideoConfig projectVideoConfig = getEnableProjectVideoConfigByProjectSn(map);
|
||||||
|
if (projectVideoConfig == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (projectVideoConfig.getVideoType() == 3) {
|
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());
|
return HikVideoUtil.callPostPlaybackURLsV2(cameraIndexCode, recordLocation, protocol, transmode, beginTime, endTime, uuid, expand, streamform, lockType, projectVideoConfig.getAccount(), projectVideoConfig.getPassword(), projectVideoConfig.getAppId(), projectVideoConfig.getAppSecret());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user