From 6b03568c5dd128a3d71c02fb1a3a76a4344a4920 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期一, 21 十一月 2022 17:07:54 +0800
Subject: [PATCH] 优化rtcp判断

---
 sql/update.sql |   41 ++++++++++++++++++++++++++++++++++++-----
 1 files changed, 36 insertions(+), 5 deletions(-)

diff --git a/sql/update.sql b/sql/update.sql
index 2a16265..405cb3a 100644
--- a/sql/update.sql
+++ b/sql/update.sql
@@ -1,7 +1,38 @@
-ALTER TABLE stream_proxy ADD status bit(1) not null;
+alter table media_server
+    drop column streamNoneReaderDelayMS;
 
-# 鍘婚櫎瀛愭煡璇紭鍖栨煡璇㈤�熷害
-alter table device_channel
-    add subCount int default 0 null;
+alter table media_server
+    drop column sendRtpPortRange;
 
-update device_channel dc set dc.subCount = (select  te.count from (SELECT count(0) as count FROM device_channel WHERE parentId = dc.channelId) te)
\ No newline at end of file
+alter table stream_proxy
+    add enable_disable_none_reader bit(1) default null;
+
+alter table device
+    add mediaServerId varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'auto';
+
+alter table device
+    add custom_name varchar(255) default null;
+
+alter table device
+    add sdpIp varchar(50) default null;
+
+alter table device
+    add localIp varchar(50) default null;
+
+alter table device
+    add password varchar(255) default null;
+
+alter table device
+    modify ip varchar(50) null;
+
+alter table device
+    modify port int null;
+
+alter table device
+    modify expires int null;
+
+alter table device
+    modify subscribeCycleForCatalog int null;
+
+alter table device
+    modify hostAddress varchar(50) null;

--
Gitblit v1.8.0