diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/service/VideoCacheManager.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/service/VideoCacheManager.java index 94f7592..00b90b8 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/service/VideoCacheManager.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/service/VideoCacheManager.java @@ -146,7 +146,9 @@ public class VideoCacheManager { try(FileWriter fileWriter = new FileWriter(concatFile)){ for (CompletableFuture> result : completableFutures) { String splitFilePath = result.get().getData(); - fileWriter.write(String.format("file \"%s\"\n", splitFilePath)); + String config = String.format("file '%s'\n", splitFilePath); + fileWriter.write(config); + log.debug("{}", config); } } log.info("生成临时合并配置文件 {}", concatFile.getAbsolutePath());