diff --git a/gb28181-wvp-proxy-service/src/main/java/cn/skcks/docking/gb28181/wvp/service/video/RecordService.java b/gb28181-wvp-proxy-service/src/main/java/cn/skcks/docking/gb28181/wvp/service/video/RecordService.java index 3016498..2b56364 100644 --- a/gb28181-wvp-proxy-service/src/main/java/cn/skcks/docking/gb28181/wvp/service/video/RecordService.java +++ b/gb28181-wvp-proxy-service/src/main/java/cn/skcks/docking/gb28181/wvp/service/video/RecordService.java @@ -69,7 +69,7 @@ public class RecordService { scheduledExecutorService.schedule(() -> { log.info("到达超时时间, 结束录制"); record.set(false); - }, timeout * 2, TimeUnit.SECONDS); + }, timeout + 60, TimeUnit.SECONDS); long maxTime = TimeUnit.SECONDS.toMicros(timeout); try { Frame frame;