From 189b6044b4f49b43c83ebadeebf0e41457bfb518 Mon Sep 17 00:00:00 2001
From: xiaoQQya <xiaoQQya@126.com>
Date: 星期六, 05 十一月 2022 11:46:39 +0800
Subject: [PATCH] fix(devicePlayer): 修复设备视频播放页 HTTPS 环境下 WebRTC 无法播放的问题

---
 sql/update.sql |   32 ++++++++++++++++++++++++++++----
 1 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/sql/update.sql b/sql/update.sql
index 5804518..1c2f855 100644
--- a/sql/update.sql
+++ b/sql/update.sql
@@ -1,8 +1,32 @@
-alter table device
-    add subscribeCycleForMobilePosition int null;
+alter table media_server
+    drop column streamNoneReaderDelayMS;
+
+alter table stream_proxy
+    add enable_disable_none_reader bit(1) default null;
 
 alter table device
-    add mobilePositionSubmissionInterval int default 5 null;
+    add mediaServerId varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'auto';
 
 alter table device
-    add subscribeCycleForAlarm int null;
\ No newline at end of file
+    add custom_name varchar(255) default null;
+
+alter table device
+    add sdpIp 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