WEB VIDEO PLATFORM是一个基于GB28181-2016标准实现的网络视频平台,支持NAT穿透,支持海康、大华、宇视等品牌的IPC、NVR、DVR接入。支持国标级联,支持rtsp/rtmp等视频流转发到国标平台,支持rtsp/rtmp等推流转发到国标平台。
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.genersoft.iot.vmp;
|
|
|
|
|
|
|
|
import java.util.logging.LogManager;
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
|
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;
|
|
|
|
public static void main(String[] args) {
|
|
|
|
VManageBootstrap.args = args;
|
|
|
|
VManageBootstrap.context = SpringApplication.run(VManageBootstrap.class, args);
|
|
|
|
}
|
|
|
|
// 项目重启
|
|
|
|
public static void restart() {
|
|
|
|
context.close();
|
|
|
|
VManageBootstrap.context = SpringApplication.run(VManageBootstrap.class, args);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|