diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java index be83237..95606f8 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java @@ -581,6 +581,8 @@ public class DeviceProxyService { @Override public void onProcessFailed(ExecuteException e) { hasResult = true; + int num = taskNum.decrementAndGet(); + log.info("当前任务数 {}", num); log.error("ffmpeg 执行失败", e); close(); }