From e2f9ee8f7b2c8b210c75fcd328b2d42c37f9d737 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期六, 06 五月 2023 17:40:57 +0800
Subject: [PATCH] 修复国标视频点播三种点播方式(自动点播,上级点播,接口点播)并发情况下失败的问题
---
src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 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 d72d255..5ae9236 100644
--- a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java
+++ b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java
@@ -52,13 +52,20 @@
private Boolean refuseChannelStatusChannelFormNotify = Boolean.FALSE;
+ private Boolean deviceStatusNotify = Boolean.FALSE;
+ private Boolean useCustomSsrcForParentInvite = Boolean.TRUE;
+
private String serverId = "000000";
+
+ private String recordPath = null;
private String thirdPartyGBIdReg = "[\\s\\S]*";
private List<String> interfaceAuthenticationExcludes = new ArrayList<>();
private List<String> allowedOrigins = new ArrayList<>();
+
+ private int maxNotifyCountQueue = 10000;
public Boolean getSavePositionHistory() {
return savePositionHistory;
@@ -248,5 +255,35 @@
this.refuseChannelStatusChannelFormNotify = refuseChannelStatusChannelFormNotify;
}
+ public String getRecordPath() {
+ return recordPath;
+ }
+ public void setRecordPath(String recordPath) {
+ this.recordPath = recordPath;
+ }
+
+ public int getMaxNotifyCountQueue() {
+ return maxNotifyCountQueue;
+ }
+
+ public void setMaxNotifyCountQueue(int maxNotifyCountQueue) {
+ this.maxNotifyCountQueue = maxNotifyCountQueue;
+ }
+
+ public Boolean getDeviceStatusNotify() {
+ return deviceStatusNotify;
+ }
+
+ public void setDeviceStatusNotify(Boolean deviceStatusNotify) {
+ this.deviceStatusNotify = deviceStatusNotify;
+ }
+
+ public Boolean getUseCustomSsrcForParentInvite() {
+ return useCustomSsrcForParentInvite;
+ }
+
+ public void setUseCustomSsrcForParentInvite(Boolean useCustomSsrcForParentInvite) {
+ this.useCustomSsrcForParentInvite = useCustomSsrcForParentInvite;
+ }
}
--
Gitblit v1.8.0