From a2f08541387806c9299a43b38fbfeaa5da5904a9 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 07 十二月 2021 17:43:55 +0800
Subject: [PATCH] 优化通道录入性能,优化启动后读取配置写入数据库的过程

---
 src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java
index 087c10a..b7b4e28 100644
--- a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java
+++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/MediaServerItem.java
@@ -37,7 +37,7 @@
 
     private String secret;
 
-    private String streamNoneReaderDelayMS;
+    private int streamNoneReaderDelayMS;
 
     private boolean rtpEnable;
 
@@ -89,6 +89,7 @@
         streamNoneReaderDelayMS = zlmServerConfig.getGeneralStreamNoneReaderDelayMS();
         rtpEnable = false; // 榛樿浣跨敤鍗曠鍙�;鐩村埌鐢ㄦ埛鑷繁璁剧疆寮�鍚绔彛
         rtpPortRange = "30000,30500"; // 榛樿浣跨敤30000,30500浣滀负绾ц仈鏃跺彂閫佹祦鐨勭鍙e彿
+        sendRtpPortRange = "30000,30500"; // 榛樿浣跨敤30000,30500浣滀负绾ц仈鏃跺彂閫佹祦鐨勭鍙e彿
         recordAssistPort = 0; // 榛樿鍏抽棴
 
     }
@@ -205,11 +206,11 @@
         this.secret = secret;
     }
 
-    public String getStreamNoneReaderDelayMS() {
+    public int getStreamNoneReaderDelayMS() {
         return streamNoneReaderDelayMS;
     }
 
-    public void setStreamNoneReaderDelayMS(String streamNoneReaderDelayMS) {
+    public void setStreamNoneReaderDelayMS(int streamNoneReaderDelayMS) {
         this.streamNoneReaderDelayMS = streamNoneReaderDelayMS;
     }
 

--
Gitblit v1.8.0