From e21abeea37342974790c02e85ddb94198456df61 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期二, 22 六月 2021 16:22:06 +0800 Subject: [PATCH] 使用fmp4进行截图,以避免ffmpeg不兼容h265的flv导致的截图失败 --- src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java index d237b16..f8b95fc 100644 --- a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java +++ b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java @@ -5,8 +5,10 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ConfigurableApplicationContext; +import springfox.documentation.oas.annotations.EnableOpenApi; @SpringBootApplication +@EnableOpenApi public class VManageBootstrap extends LogManager { private static String[] args; private static ConfigurableApplicationContext context; @@ -20,4 +22,5 @@ VManageBootstrap.context = SpringApplication.run(VManageBootstrap.class, args); } + } -- Gitblit v1.8.0