Selaa lähdekoodia

修复目录订阅发送订阅未携带经纬度的问题

648540858 1 vuosi sitten
vanhempi
commit
bd0fafde81

+ 2 - 0
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java

@@ -665,6 +665,8 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
                                 .append("<Owner> " + channel.getOwner()+ "</Owner>\r\n")
                                 .append("<CivilCode>" + channel.getCivilCode() + "</CivilCode>\r\n")
                                 .append("<Address>" + channel.getAddress() + "</Address>\r\n");
+                        catalogXml.append("<Longitude>" + channel.getLongitude() + "</Longitude>\r\n");
+                        catalogXml.append("<Latitude>" + channel.getLatitude() + "</Latitude>\r\n");
                     }
                     if (!"presence".equals(subscribeInfo.getEventType())) {
                         catalogXml.append("<Event>" + type + "</Event>\r\n");

+ 11 - 1
数据库/2.7.0/更新-mysql-2.7.0.sql

@@ -4,5 +4,15 @@ alter table wvp_device_channel
 alter table wvp_device
     drop switch_primary_sub_stream;
 
+# 第一个补丁包
 alter table wvp_platform
-    add send_stream_ip character varying(50);
+    add send_stream_ip character varying(50);
+
+alter table wvp_device
+    change on_line on_line bool default false;
+
+alter table wvp_device
+    change id id serial primary key;
+
+alter table wvp_device
+    change ssrc_check ssrc_check bool default false;

+ 11 - 1
数据库/2.7.0/更新-postgresql-kingbase-2.7.0.sql

@@ -4,5 +4,15 @@ alter table wvp_device_channel
 alter table wvp_device
     drop switch_primary_sub_stream;
 
+# 第一个补丁包
 alter table wvp_platform
-    add send_stream_ip character varying(50);
+    add send_stream_ip character varying(50);
+
+alter table wvp_device
+    change on_line on_line bool default false;
+
+alter table wvp_device
+    change id id serial primary key;
+
+alter table wvp_device
+    change ssrc_check ssrc_check bool default false;