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

2.7.0
648540858 2024-04-15 15:51:10 +08:00
parent 819ec97d66
commit bd0fafde81
3 changed files with 24 additions and 2 deletions

View File

@ -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");

View File

@ -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;

View File

@ -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;