mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-26 06:57:50 +08:00
Compare commits
4 Commits
b736e2690c
...
a4839b226c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4839b226c | ||
|
|
693cbf0efb | ||
|
|
b348b2d3a9 | ||
|
|
da98101aac |
@ -628,8 +628,13 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
|
|||||||
request.getCallIdHeader().getCallId(), sendRtpItem.getApp(), sendRtpItem.getStream(), sendRtpItem.getSsrc(), sendRtpItem.getMediaServerId(), sipResponse, InviteSessionType.BROADCAST);
|
request.getCallIdHeader().getCallId(), sendRtpItem.getApp(), sendRtpItem.getStream(), sendRtpItem.getSsrc(), sendRtpItem.getMediaServerId(), sipResponse, InviteSessionType.BROADCAST);
|
||||||
sessionManager.put(ssrcTransaction);
|
sessionManager.put(ssrcTransaction);
|
||||||
// 开启发流,大华在收到200OK后就会开始建立连接
|
// 开启发流,大华在收到200OK后就会开始建立连接
|
||||||
if (!device.isBroadcastPushAfterAck()) {
|
if (sendRtpItem.isTcpActive() || !device.isBroadcastPushAfterAck()) {
|
||||||
log.info("[语音喊话] 回复200OK后发现 BroadcastPushAfterAck为False,现在开始推流");
|
if (sendRtpItem.isTcpActive()) {
|
||||||
|
log.info("[语音喊话] 监听端口等待设备连接后推流");
|
||||||
|
}else {
|
||||||
|
log.info("[语音喊话] 回复200OK后发现 BroadcastPushAfterAck为False,现在开始推流");
|
||||||
|
}
|
||||||
|
|
||||||
playService.startPushStream(sendRtpItem, channel, sipResponse, parentPlatform, request.getCallIdHeader());
|
playService.startPushStream(sendRtpItem, channel, sipResponse, parentPlatform, request.getCallIdHeader());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -861,7 +861,7 @@
|
|||||||
320623,如东县,3206
|
320623,如东县,3206
|
||||||
320681,启东市,3206
|
320681,启东市,3206
|
||||||
320682,如皋市,3206
|
320682,如皋市,3206
|
||||||
320684,海门市,3206
|
320684,海门区,3206
|
||||||
320685,海安市,3206
|
320685,海安市,3206
|
||||||
3207,连云港市,32
|
3207,连云港市,32
|
||||||
320703,连云区,3207
|
320703,连云区,3207
|
||||||
@ -918,8 +918,6 @@
|
|||||||
33,浙江省,
|
33,浙江省,
|
||||||
3301,杭州市,33
|
3301,杭州市,33
|
||||||
330102,上城区,3301
|
330102,上城区,3301
|
||||||
330103,下城区,3301
|
|
||||||
330104,江干区,3301
|
|
||||||
330105,拱墅区,3301
|
330105,拱墅区,3301
|
||||||
330106,西湖区,3301
|
330106,西湖区,3301
|
||||||
330108,滨江区,3301
|
330108,滨江区,3301
|
||||||
@ -927,6 +925,8 @@
|
|||||||
330110,余杭区,3301
|
330110,余杭区,3301
|
||||||
330111,富阳区,3301
|
330111,富阳区,3301
|
||||||
330112,临安区,3301
|
330112,临安区,3301
|
||||||
|
330113,临平区,3301
|
||||||
|
330114,钱塘区,3301
|
||||||
330122,桐庐县,3301
|
330122,桐庐县,3301
|
||||||
330127,淳安县,3301
|
330127,淳安县,3301
|
||||||
330182,建德市,3301
|
330182,建德市,3301
|
||||||
|
|||||||
|
@ -167,7 +167,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.initData();
|
this.initData();
|
||||||
this.updateLooper = setInterval(this.initData, 10000);
|
this.updateLooper = setInterval(this.getDeviceList, 10000);
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
this.$destroy('videojs');
|
this.$destroy('videojs');
|
||||||
|
|||||||
@ -159,6 +159,8 @@ create table IF NOT EXISTS wvp_device_channel
|
|||||||
gps_speed double precision,
|
gps_speed double precision,
|
||||||
gps_altitude double precision,
|
gps_altitude double precision,
|
||||||
gps_direction double precision,
|
gps_direction double precision,
|
||||||
|
index (data_type),
|
||||||
|
index (data_device_id),
|
||||||
constraint uk_wvp_unique_channel unique (gb_device_id)
|
constraint uk_wvp_unique_channel unique (gb_device_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -159,6 +159,8 @@ create table IF NOT EXISTS wvp_device_channel
|
|||||||
gps_speed double precision,
|
gps_speed double precision,
|
||||||
gps_altitude double precision,
|
gps_altitude double precision,
|
||||||
gps_direction double precision,
|
gps_direction double precision,
|
||||||
|
index (data_type),
|
||||||
|
index (data_device_id),
|
||||||
constraint uk_wvp_unique_channel unique (gb_device_id)
|
constraint uk_wvp_unique_channel unique (gb_device_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -171,6 +171,8 @@ create table IF NOT EXISTS wvp_device_channel
|
|||||||
gps_speed double precision,
|
gps_speed double precision,
|
||||||
gps_altitude double precision,
|
gps_altitude double precision,
|
||||||
gps_direction double precision,
|
gps_direction double precision,
|
||||||
|
index (data_type),
|
||||||
|
index (data_device_id),
|
||||||
constraint uk_wvp_unique_channel unique (gb_device_id)
|
constraint uk_wvp_unique_channel unique (gb_device_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -267,5 +267,27 @@ call wvp_20250319();
|
|||||||
DROP PROCEDURE wvp_20250319;
|
DROP PROCEDURE wvp_20250319;
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 20250402
|
||||||
|
*/
|
||||||
|
DELIMITER // -- 重定义分隔符避免分号冲突
|
||||||
|
CREATE PROCEDURE `wvp_20250402`()
|
||||||
|
BEGIN
|
||||||
|
IF NOT EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
|
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and INDEX_NAME = 'data_type')
|
||||||
|
THEN
|
||||||
|
create index data_type on wvp_device_channel (data_type);
|
||||||
|
END IF;
|
||||||
|
IF NOT EXISTS (SELECT column_name FROM information_schema.STATISTICS
|
||||||
|
WHERE TABLE_SCHEMA = (SELECT DATABASE()) and table_name = 'wvp_device_channel' and INDEX_NAME = 'data_device_id')
|
||||||
|
THEN
|
||||||
|
create index data_device_id on wvp_device_channel (data_device_id);
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
END; //
|
||||||
|
call wvp_20250402();
|
||||||
|
DROP PROCEDURE wvp_20250402;
|
||||||
|
DELIMITER ;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -137,6 +137,8 @@ create table IF NOT EXISTS wvp_device_channel
|
|||||||
gps_speed double precision,
|
gps_speed double precision,
|
||||||
gps_altitude double precision,
|
gps_altitude double precision,
|
||||||
gps_direction double precision,
|
gps_direction double precision,
|
||||||
|
index (data_type),
|
||||||
|
index (data_device_id),
|
||||||
constraint uk_wvp_unique_channel unique (gb_device_id)
|
constraint uk_wvp_unique_channel unique (gb_device_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -102,4 +102,10 @@ alter table wvp_device_channel add column if not exists gps_speed double precisi
|
|||||||
alter table wvp_device_channel add column if not exists gps_altitude double precision;
|
alter table wvp_device_channel add column if not exists gps_altitude double precision;
|
||||||
alter table wvp_device_channel add column if not exists gps_direction double precision;
|
alter table wvp_device_channel add column if not exists gps_direction double precision;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 20250402
|
||||||
|
*/
|
||||||
|
create index if not exists data_type on wvp_device_channel (data_type);
|
||||||
|
create index if not exists data_device_id on wvp_device_channel (data_device_id);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user