[+] 架构优化:Moon=MCU+SFU
This commit is contained in:
@@ -17,8 +17,7 @@
|
||||
<description>WebRTC模块</description>
|
||||
|
||||
<modules>
|
||||
<module>taoyao-webrtc-sfu</module>
|
||||
<module>taoyao-webrtc-mcu</module>
|
||||
<module>taoyao-webrtc-moon</module>
|
||||
<module>taoyao-webrtc-mesh</module>
|
||||
<module>taoyao-webrtc-kurento</module>
|
||||
</modules>
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
com.acgist.taoyao.webrtc.mcu.config.McuAutoConfiguration
|
||||
@@ -14,7 +14,7 @@
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>taoyao-webrtc-mesh</name>
|
||||
<description>WebRTC MESH架构实现</description>
|
||||
<description>WebRTC Mesh架构实现</description>
|
||||
|
||||
<dependencies></dependencies>
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>taoyao-webrtc-mcu</artifactId>
|
||||
<artifactId>taoyao-webrtc-moon</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>taoyao-webrtc-mcu</name>
|
||||
<description>WebRTC MCU架构实现</description>
|
||||
<name>taoyao-webrtc-moon</name>
|
||||
<description>WebRTC Moon架构实现</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@@ -1,15 +1,15 @@
|
||||
package com.acgist.taoyao.webrtc.mcu.config;
|
||||
package com.acgist.taoyao.webrtc.moon.config;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* MCU自动配置
|
||||
* MOON自动配置
|
||||
*
|
||||
* @author acgist
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnProperty(prefix = "taoyao.webrtc", name = "framework", havingValue = "MCU", matchIfMissing = false)
|
||||
public class McuAutoConfiguration {
|
||||
@ConditionalOnProperty(prefix = "taoyao.webrtc", name = "framework", havingValue = "MOON", matchIfMissing = false)
|
||||
public class MoonAutoConfiguration {
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
com.acgist.taoyao.webrtc.moon.config.MoonAutoConfiguration
|
||||
@@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>taoyao-webrtc-sfu</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>taoyao-webrtc-sfu</name>
|
||||
<description>WebRTC SFU架构实现</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-kurento</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.acgist.taoyao.webrtc.sfu.config;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* SFU自动配置
|
||||
*
|
||||
* @author acgist
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnProperty(prefix = "taoyao.webrtc", name = "framework", havingValue = "SFU", matchIfMissing = true)
|
||||
public class SfuAutoConfiguration {
|
||||
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
com.acgist.taoyao.webrtc.sfu.config.SfuAutoConfiguration
|
||||
Reference in New Issue
Block a user