From 0a380c6ff916015b434c398448ae08746b6b0a4b Mon Sep 17 00:00:00 2001
From: gaoxun250@sina.com <gaoxun250@sina.com>
Date: 星期五, 03 二月 2023 14:19:10 +0800
Subject: [PATCH] 解决截图被占用无法打开问题
---
src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java | 98 ++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 88 insertions(+), 10 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java
index c0fcf01..be7d5af 100644
--- a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java
+++ b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java
@@ -1,6 +1,5 @@
package com.genersoft.iot.vmp.conf;
-import io.swagger.models.auth.In;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@@ -32,7 +31,22 @@
private Boolean logInDatebase = Boolean.TRUE;
- private Boolean redisConfig = Boolean.TRUE;
+ private Boolean usePushingAsStatus = Boolean.TRUE;
+
+ private Boolean useSourceIpAsStreamIp = Boolean.FALSE;
+
+ private Boolean sipUseSourceIpAsRemoteAddress = Boolean.FALSE;
+
+ private Boolean streamOnDemand = Boolean.TRUE;
+
+ private Boolean pushAuthority = Boolean.TRUE;
+
+ private Boolean gbSendStreamStrict = Boolean.FALSE;
+
+ private Boolean syncChannelOnDeviceOnline = Boolean.FALSE;
+
+ private Boolean sipLog = Boolean.FALSE;
+ private Boolean syncDb = Boolean.TRUE;
private String serverId = "000000";
@@ -124,14 +138,6 @@
this.thirdPartyGBIdReg = thirdPartyGBIdReg;
}
- public Boolean getRedisConfig() {
- return redisConfig;
- }
-
- public void setRedisConfig(Boolean redisConfig) {
- this.redisConfig = redisConfig;
- }
-
public Boolean getRecordSip() {
return recordSip;
}
@@ -147,4 +153,76 @@
public void setPlatformPlayTimeout(int platformPlayTimeout) {
this.platformPlayTimeout = platformPlayTimeout;
}
+
+ public Boolean isUsePushingAsStatus() {
+ return usePushingAsStatus;
+ }
+
+ public void setUsePushingAsStatus(Boolean usePushingAsStatus) {
+ this.usePushingAsStatus = usePushingAsStatus;
+ }
+
+ public Boolean getStreamOnDemand() {
+ return streamOnDemand;
+ }
+
+ public void setStreamOnDemand(Boolean streamOnDemand) {
+ this.streamOnDemand = streamOnDemand;
+ }
+
+ public Boolean getUseSourceIpAsStreamIp() {
+ return useSourceIpAsStreamIp;
+ }
+
+ public void setUseSourceIpAsStreamIp(Boolean useSourceIpAsStreamIp) {
+ this.useSourceIpAsStreamIp = useSourceIpAsStreamIp;
+ }
+
+ public Boolean getPushAuthority() {
+ return pushAuthority;
+ }
+
+ public void setPushAuthority(Boolean pushAuthority) {
+ this.pushAuthority = pushAuthority;
+ }
+
+ public Boolean getGbSendStreamStrict() {
+ return gbSendStreamStrict;
+ }
+
+ public void setGbSendStreamStrict(Boolean gbSendStreamStrict) {
+ this.gbSendStreamStrict = gbSendStreamStrict;
+ }
+
+ public Boolean getSyncChannelOnDeviceOnline() {
+ return syncChannelOnDeviceOnline;
+ }
+
+ public void setSyncChannelOnDeviceOnline(Boolean syncChannelOnDeviceOnline) {
+ this.syncChannelOnDeviceOnline = syncChannelOnDeviceOnline;
+ }
+
+ public Boolean getSipUseSourceIpAsRemoteAddress() {
+ return sipUseSourceIpAsRemoteAddress;
+ }
+
+ public void setSipUseSourceIpAsRemoteAddress(Boolean sipUseSourceIpAsRemoteAddress) {
+ this.sipUseSourceIpAsRemoteAddress = sipUseSourceIpAsRemoteAddress;
+ }
+
+ public Boolean getSipLog() {
+ return sipLog;
+ }
+
+ public void setSipLog(Boolean sipLog) {
+ this.sipLog = sipLog;
+ }
+
+ public Boolean getSyncDb() {
+ return syncDb;
+ }
+
+ public void setSyncDb(Boolean syncDb) {
+ this.syncDb = syncDb;
+ }
}
--
Gitblit v1.8.0