[+] 房间穿肩
This commit is contained in:
@@ -34,11 +34,6 @@ public class Header implements Serializable {
|
||||
*/
|
||||
@Schema(title = "消息标识", description = "消息标识")
|
||||
private String id;
|
||||
/**
|
||||
* 终端标识
|
||||
*/
|
||||
@Schema(title = "终端标识", description = "终端标识")
|
||||
private String sn;
|
||||
/**
|
||||
* 协议标识
|
||||
*/
|
||||
@@ -47,7 +42,7 @@ public class Header implements Serializable {
|
||||
|
||||
@Override
|
||||
public Header clone() {
|
||||
return new Header(this.v, this.id, this.sn, this.signal);
|
||||
return new Header(this.v, this.id, this.signal);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
package com.acgist.taoyao.boot.property;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
@@ -47,10 +51,16 @@ public class MediaProperties {
|
||||
*/
|
||||
@Schema(title = "流畅视频", description = "流畅视频")
|
||||
private MediaVideoProperties flowVideo;
|
||||
/**
|
||||
* 媒体服务配置
|
||||
*/
|
||||
@Schema(title = "媒体服务配置", description = "媒体服务配置")
|
||||
private List<MediaServerProperties> mediaServerList;
|
||||
/**
|
||||
* 录像存放路径
|
||||
*/
|
||||
@Schema(title = "录像存放路径", description = "录像存放路径")
|
||||
@JsonIgnore
|
||||
private String recordStoragePath;
|
||||
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import lombok.Setter;
|
||||
@Getter
|
||||
@Setter
|
||||
@Schema(title = "媒体服务配置", description = "媒体服务配置")
|
||||
public class MediasoupProperties {
|
||||
public class MediaServerProperties {
|
||||
|
||||
/**
|
||||
* 名称
|
||||
@@ -1,47 +0,0 @@
|
||||
package com.acgist.taoyao.boot.property;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* 节点配置
|
||||
*
|
||||
* @author acgist
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Schema(title = "节点配置", description = "节点配置")
|
||||
public class NodeProperties {
|
||||
|
||||
/**
|
||||
* 主机
|
||||
*/
|
||||
@Schema(title = "主机", description = "主机")
|
||||
private String host;
|
||||
/**
|
||||
* 端口
|
||||
*/
|
||||
@Schema(title = "端口", description = "端口")
|
||||
private Integer port;
|
||||
/**
|
||||
* 用户
|
||||
*/
|
||||
@Schema(title = "用户", description = "用户")
|
||||
@JsonIgnore
|
||||
private String username;
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
@Schema(title = "密码", description = "密码")
|
||||
@JsonIgnore
|
||||
private String password;
|
||||
/**
|
||||
* 服务节点ID
|
||||
*/
|
||||
@Schema(title = "服务节点ID", description = "服务节点ID")
|
||||
private String serverId;
|
||||
|
||||
}
|
||||
@@ -26,12 +26,6 @@ public class TaoyaoProperties {
|
||||
*/
|
||||
@Schema(title = "项目名称", description = "项目名称")
|
||||
private String name;
|
||||
/**
|
||||
* 服务节点ID
|
||||
* 集群使用
|
||||
*/
|
||||
@Schema(title = "服务节点ID", description = "服务节点ID")
|
||||
private String nodeId;
|
||||
/**
|
||||
* 超时时间
|
||||
*/
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package com.acgist.taoyao.boot.property;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -19,16 +17,6 @@ import lombok.Setter;
|
||||
@ConfigurationProperties(prefix = "taoyao.webrtc")
|
||||
public class WebrtcProperties {
|
||||
|
||||
/**
|
||||
* 媒体最小端口
|
||||
*/
|
||||
@Schema(title = "媒体最小端口", description = "媒体最小端口")
|
||||
private Integer minPort;
|
||||
/**
|
||||
* 媒体最大端口
|
||||
*/
|
||||
@Schema(title = "媒体最大端口", description = "媒体最大端口")
|
||||
private Integer maxPort;
|
||||
/**
|
||||
* STUN服务器
|
||||
*/
|
||||
@@ -39,10 +27,5 @@ public class WebrtcProperties {
|
||||
*/
|
||||
@Schema(title = "TURN服务器", description = "TURN服务器")
|
||||
private String[] turn;
|
||||
/**
|
||||
* 媒体服务配置
|
||||
*/
|
||||
@Schema(title = "媒体服务配置", description = "媒体服务配置")
|
||||
private List<MediasoupProperties> mediasoupList;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user