修复录制计划取消通道关联时未及时停止通道点播

pull/1719/head
648540858 2024-12-11 15:17:17 +08:00
parent 70310f918e
commit 1b023da64f
1 changed files with 1 additions and 5 deletions

View File

@ -262,12 +262,8 @@ public class RecordPlanServiceImpl implements IRecordPlanService {
channelMapper.addRecordPlan(channelIds, planId); channelMapper.addRecordPlan(channelIds, planId);
} }
// 查看当前的待录制列表是否变化,如果变化,则调用录制计划马上开始录制 // 查看当前的待录制列表是否变化,如果变化,则调用录制计划马上开始录制
List<Integer> currentChannelRecord = queryCurrentChannelRecord();
recordStreamMap.keySet().forEach(currentChannelRecord::remove);
if (!currentChannelRecord.isEmpty()) {
execution(); execution();
} }
}
@Override @Override
public PageInfo<CommonGBChannel> queryChannelList(int page, int count, String query, Integer channelType, Boolean online, Integer planId, Boolean hasLink) { public PageInfo<CommonGBChannel> queryChannelList(int page, int count, String query, Integer channelType, Boolean online, Integer planId, Boolean hasLink) {