Merge branch 'master' into dev/数据库统合

This commit is contained in:
lin
2025-02-19 09:48:26 +08:00
3 changed files with 16 additions and 1 deletions

View File

@@ -89,7 +89,8 @@ public class RecordPlanServiceImpl implements IRecordPlanService {
if (startChannelIdList.isEmpty()) {
// 当前没有录像任务, 如果存在旧的正在录像的就移除
if(!recordStreamMap.isEmpty()) {
stopStreams(recordStreamMap.keySet(), recordStreamMap);
Set<Integer> recordStreamSet = new HashSet<>(recordStreamMap.keySet());
stopStreams(recordStreamSet, recordStreamMap);
recordStreamMap.clear();
}
}else {