Merge branch 'wvp-28181-2.0' into main-dev

# Conflicts:
#	src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java
#	src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java
#	src/main/java/com/genersoft/iot/vmp/gb28181/transmit/callback/DeferredResultHolder.java
#	src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/ISIPCommanderForPlatform.java
#	src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java
#	src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/response/impl/InviteResponseProcessor.java
#	src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRTPServerFactory.java
#	src/main/java/com/genersoft/iot/vmp/service/IPlayService.java
#	src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
#	src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java
#	src/main/resources/all-application.yml
#	web_src/config/index.js
#	web_src/src/components/dialog/devicePlayer.vue
This commit is contained in:
648540858
2023-06-27 16:46:26 +08:00
162 changed files with 7376 additions and 2908 deletions

View File

@@ -6,7 +6,7 @@ package com.genersoft.iot.vmp.vmanager.bean;
public enum ErrorCode {
SUCCESS(0, "成功"),
ERROR100(100, "失败"),
ERROR400(400, "参数不全或者错误"),
ERROR400(400, "参数或方法错误"),
ERROR404(404, "资源未找到"),
ERROR403(403, "无权限操作"),
ERROR401(401, "请登录后重新请求"),

View File

@@ -1,9 +1,17 @@
package com.genersoft.iot.vmp.vmanager.bean;
public class ResourceBaceInfo {
public class ResourceBaseInfo {
private int total;
private int online;
public ResourceBaseInfo() {
}
public ResourceBaseInfo(int total, int online) {
this.total = total;
this.online = online;
}
public int getTotal() {
return total;
}

View File

@@ -2,40 +2,40 @@ package com.genersoft.iot.vmp.vmanager.bean;
public class ResourceInfo {
private ResourceBaceInfo device;
private ResourceBaceInfo channel;
private ResourceBaceInfo push;
private ResourceBaceInfo proxy;
private ResourceBaseInfo device;
private ResourceBaseInfo channel;
private ResourceBaseInfo push;
private ResourceBaseInfo proxy;
public ResourceBaceInfo getDevice() {
public ResourceBaseInfo getDevice() {
return device;
}
public void setDevice(ResourceBaceInfo device) {
public void setDevice(ResourceBaseInfo device) {
this.device = device;
}
public ResourceBaceInfo getChannel() {
public ResourceBaseInfo getChannel() {
return channel;
}
public void setChannel(ResourceBaceInfo channel) {
public void setChannel(ResourceBaseInfo channel) {
this.channel = channel;
}
public ResourceBaceInfo getPush() {
public ResourceBaseInfo getPush() {
return push;
}
public void setPush(ResourceBaceInfo push) {
public void setPush(ResourceBaseInfo push) {
this.push = push;
}
public ResourceBaceInfo getProxy() {
public ResourceBaseInfo getProxy() {
return proxy;
}
public void setProxy(ResourceBaceInfo proxy) {
public void setProxy(ResourceBaseInfo proxy) {
this.proxy = proxy;
}
}

View File

@@ -0,0 +1,50 @@
package com.genersoft.iot.vmp.vmanager.bean;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(description = "截图地址信息")
public class SnapPath {
@Schema(description = "相对地址")
private String path;
@Schema(description = "绝对地址")
private String absoluteFilePath;
@Schema(description = "请求地址")
private String url;
public static SnapPath getInstance(String path, String absoluteFilePath, String url) {
SnapPath snapPath = new SnapPath();
snapPath.setPath(path);
snapPath.setAbsoluteFilePath(absoluteFilePath);
snapPath.setUrl(url);
return snapPath;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getAbsoluteFilePath() {
return absoluteFilePath;
}
public void setAbsoluteFilePath(String absoluteFilePath) {
this.absoluteFilePath = absoluteFilePath;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}