[+] 精简
This commit is contained in:
@@ -77,8 +77,8 @@ public class BootAutoConfiguration {
|
||||
|
||||
@Value("${spring.application.name:taoyao}")
|
||||
private String name;
|
||||
@Value("${taoyao.webrtc.model:SFU}")
|
||||
private String model;
|
||||
@Value("${taoyao.webrtc.framework:SFU}")
|
||||
private String framework;
|
||||
|
||||
@Autowired
|
||||
private ApplicationContext context;
|
||||
@@ -162,7 +162,7 @@ public class BootAutoConfiguration {
|
||||
this.context.getBeansOfType(TaskScheduler.class).forEach((k, v) -> {
|
||||
log.info("系统定时任务线程池:{}-{}", k, v);
|
||||
});
|
||||
log.info("WebRTC架构:{}", this.model);
|
||||
log.info("WebRTC架构:{}", this.framework);
|
||||
this.registerException();
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ public class WebrtcProperties {
|
||||
*
|
||||
* @author acgist
|
||||
*/
|
||||
public enum Model {
|
||||
public enum Framework {
|
||||
|
||||
/**
|
||||
* SFU架构
|
||||
@@ -39,33 +39,10 @@ public class WebrtcProperties {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 基础框架
|
||||
*
|
||||
* @author acgist
|
||||
*/
|
||||
public enum Framework {
|
||||
|
||||
/**
|
||||
* jitsi
|
||||
*/
|
||||
JITSI,
|
||||
/**
|
||||
* kurento
|
||||
*/
|
||||
KURENTO;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 模型
|
||||
*/
|
||||
@Schema(title = "架构模型", description = "WebRTC架构模型")
|
||||
private Model model;
|
||||
/**
|
||||
* 框架
|
||||
*/
|
||||
@Schema(title = "基础框架", description = "WebRTC基础框架")
|
||||
private Framework framework;
|
||||
/**
|
||||
* stun服务器
|
||||
|
||||
Reference in New Issue
Block a user