whycxzp
2025-01-20 890149c0d33125f2a2b012d1b36e1bb0625e10fc
摄像头视频流相关接口
1个文件已修改
3 ■■■■ 已修改文件
src/main/java/com/whyc/schedule/VideoScheduleService.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/schedule/VideoScheduleService.java
@@ -36,7 +36,6 @@
     * 3.考虑意外情况:突然程序死机或者电脑断电重启,需要延时启动录像,因为视频推流服务还未完成,延时20s开始检测
     *
     * */
    //@Scheduled(cron = "0/2 * * * * ? ")
    @Scheduled(fixedRate = 2000,initialDelay = 20000)
    public void startRecordAndCheck(){
        ThreadPoolExecutorFactory.getPoolExecutor().execute(()->{
@@ -73,7 +72,7 @@
    }
    /**
     * 录像保持3天
     * 录像保持2天
     */
    @Scheduled(cron= "0 0 2 * * ?")
    public void recordRecycle(){