mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 22:17:49 +08:00
Compare commits
4 Commits
5c25385d29
...
ed00a2a75a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed00a2a75a | ||
|
|
1702907573 | ||
|
|
fad9f2954a | ||
|
|
45509372bd |
@ -11,7 +11,7 @@ public class DeviceStatusTaskInfo{
|
|||||||
private SipTransactionInfo transactionInfo;
|
private SipTransactionInfo transactionInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 过期时间
|
* 过期时间,单位毫秒
|
||||||
*/
|
*/
|
||||||
private long expireTime;
|
private long expireTime;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -118,7 +118,7 @@ public class DeviceStatusTaskRunner {
|
|||||||
if (taskInfo == null) {
|
if (taskInfo == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Long expire = redisTemplate.getExpire(redisKey);
|
Long expire = redisTemplate.getExpire(redisKey, TimeUnit.MILLISECONDS);
|
||||||
taskInfo.setExpireTime(expire);
|
taskInfo.setExpireTime(expire);
|
||||||
result.add(taskInfo);
|
result.add(taskInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,7 @@ public class SubscribeTaskInfo {
|
|||||||
private String key;
|
private String key;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 过期时间
|
* 过期时间,单位: 秒
|
||||||
*/
|
*/
|
||||||
private long expireTime;
|
private long expireTime;
|
||||||
|
|
||||||
|
|||||||
@ -118,7 +118,7 @@ public class SubscribeTaskRunner{
|
|||||||
if (taskInfo == null) {
|
if (taskInfo == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Long expire = redisTemplate.getExpire(redisKey);
|
Long expire = redisTemplate.getExpire(redisKey, TimeUnit.SECONDS);
|
||||||
taskInfo.setExpireTime(expire);
|
taskInfo.setExpireTime(expire);
|
||||||
result.add(taskInfo);
|
result.add(taskInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,15 +1,8 @@
|
|||||||
package com.genersoft.iot.vmp.gb28181.task.platformStatus;
|
package com.genersoft.iot.vmp.gb28181.task.platformStatus;
|
||||||
|
|
||||||
import com.genersoft.iot.vmp.common.CommonCallback;
|
|
||||||
import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo;
|
import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
import java.util.concurrent.Delayed;
|
|
||||||
import java.util.concurrent.TimeUnit;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 平台注册任务可序列化的信息
|
* 平台注册任务可序列化的信息
|
||||||
@ -23,7 +16,7 @@ public class PlatformRegisterTaskInfo{
|
|||||||
private SipTransactionInfo sipTransactionInfo;
|
private SipTransactionInfo sipTransactionInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 过期时间
|
* 过期时间,单位: 毫秒
|
||||||
*/
|
*/
|
||||||
private long expireTime;
|
private long expireTime;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -179,7 +179,7 @@ public class PlatformStatusTaskRunner {
|
|||||||
if (taskInfo == null) {
|
if (taskInfo == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Long expire = redisTemplate.getExpire(redisKey);
|
Long expire = redisTemplate.getExpire(redisKey, TimeUnit.MILLISECONDS);
|
||||||
taskInfo.setExpireTime(expire);
|
taskInfo.setExpireTime(expire);
|
||||||
result.add(taskInfo);
|
result.add(taskInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -42,9 +42,6 @@ public class JTDevice {
|
|||||||
@Schema(description = "车牌")
|
@Schema(description = "车牌")
|
||||||
private String plateNo;
|
private String plateNo;
|
||||||
|
|
||||||
@Schema(description = "鉴权码")
|
|
||||||
private String authenticationCode;
|
|
||||||
|
|
||||||
@Schema(description = "经度")
|
@Schema(description = "经度")
|
||||||
private Double longitude;
|
private Double longitude;
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,6 @@ public interface JTTerminalMapper {
|
|||||||
"<if test=\"model != null\">, model=#{model}</if>" +
|
"<if test=\"model != null\">, model=#{model}</if>" +
|
||||||
"<if test=\"plateColor != null\">, plate_color=#{plateColor}</if>" +
|
"<if test=\"plateColor != null\">, plate_color=#{plateColor}</if>" +
|
||||||
"<if test=\"plateNo != null\">, plate_no=#{plateNo}</if>" +
|
"<if test=\"plateNo != null\">, plate_no=#{plateNo}</if>" +
|
||||||
"<if test=\"authenticationCode != null\">, authentication_code=#{authenticationCode}</if>" +
|
|
||||||
"<if test=\"longitude != null\">, longitude=#{longitude}</if>" +
|
"<if test=\"longitude != null\">, longitude=#{longitude}</if>" +
|
||||||
"<if test=\"latitude != null\">, latitude=#{latitude}</if>" +
|
"<if test=\"latitude != null\">, latitude=#{latitude}</if>" +
|
||||||
"<if test=\"registerTime != null\">, register_time=#{registerTime}</if>" +
|
"<if test=\"registerTime != null\">, register_time=#{registerTime}</if>" +
|
||||||
@ -64,7 +63,6 @@ public interface JTTerminalMapper {
|
|||||||
"model,"+
|
"model,"+
|
||||||
"plate_color,"+
|
"plate_color,"+
|
||||||
"plate_no,"+
|
"plate_no,"+
|
||||||
"authentication_code,"+
|
|
||||||
"longitude,"+
|
"longitude,"+
|
||||||
"latitude,"+
|
"latitude,"+
|
||||||
"create_time,"+
|
"create_time,"+
|
||||||
@ -81,7 +79,6 @@ public interface JTTerminalMapper {
|
|||||||
"#{model}," +
|
"#{model}," +
|
||||||
"#{plateColor}," +
|
"#{plateColor}," +
|
||||||
"#{plateNo}," +
|
"#{plateNo}," +
|
||||||
"#{authenticationCode}," +
|
|
||||||
"#{longitude}," +
|
"#{longitude}," +
|
||||||
"#{latitude}," +
|
"#{latitude}," +
|
||||||
"#{createTime}," +
|
"#{createTime}," +
|
||||||
|
|||||||
@ -2,4 +2,4 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: wvp
|
name: wvp
|
||||||
profiles:
|
profiles:
|
||||||
active: 1078
|
active: 274-dev
|
||||||
|
|||||||
@ -120,6 +120,13 @@ sip:
|
|||||||
# 命令发送等待回复的超时时间, 单位:毫秒
|
# 命令发送等待回复的超时时间, 单位:毫秒
|
||||||
timeout: 1000
|
timeout: 1000
|
||||||
|
|
||||||
|
# 做为JT1078服务器的配置
|
||||||
|
ftp:
|
||||||
|
#[必须修改] 是否开启1078的服务
|
||||||
|
enable: true
|
||||||
|
port: 2121
|
||||||
|
passive-ports: 10000-10500
|
||||||
|
|
||||||
# 做为JT1078服务器的配置
|
# 做为JT1078服务器的配置
|
||||||
jt1078:
|
jt1078:
|
||||||
#[必须修改] 是否开启1078的服务
|
#[必须修改] 是否开启1078的服务
|
||||||
@ -129,6 +136,7 @@ jt1078:
|
|||||||
#[可选] 设备鉴权的密码
|
#[可选] 设备鉴权的密码
|
||||||
password: admin123
|
password: admin123
|
||||||
|
|
||||||
|
|
||||||
#zlm 默认服务器配置
|
#zlm 默认服务器配置
|
||||||
media:
|
media:
|
||||||
# [必须修改] zlm服务器唯一id,用于触发hook时区别是哪台服务器,general.mediaServerId
|
# [必须修改] zlm服务器唯一id,用于触发hook时区别是哪台服务器,general.mediaServerId
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane :disabled="!jtChannel.gbId" label="国标通道配置">
|
<el-tab-pane label="国标通道配置">
|
||||||
<CommonChannelEdit :id="jtChannel.gbId" ref="commonChannelEdit" :cancel="close" />
|
<CommonChannelEdit :id="jtChannel.gbId" ref="commonChannelEdit" :cancel="close" />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
|||||||
@ -183,6 +183,7 @@ create table IF NOT EXISTS wvp_media_server
|
|||||||
flv_ssl_port integer,
|
flv_ssl_port integer,
|
||||||
ws_flv_port integer,
|
ws_flv_port integer,
|
||||||
ws_flv_ssl_port integer,
|
ws_flv_ssl_port integer,
|
||||||
|
jtt_proxy_port integer,
|
||||||
auto_config bool default false,
|
auto_config bool default false,
|
||||||
secret character varying(50),
|
secret character varying(50),
|
||||||
type character varying(50) default 'zlm',
|
type character varying(50) default 'zlm',
|
||||||
|
|||||||
@ -184,6 +184,7 @@ create table IF NOT EXISTS wvp_media_server
|
|||||||
flv_ssl_port integer,
|
flv_ssl_port integer,
|
||||||
ws_flv_port integer,
|
ws_flv_port integer,
|
||||||
ws_flv_ssl_port integer,
|
ws_flv_ssl_port integer,
|
||||||
|
jtt_proxy_port integer,
|
||||||
auto_config bool default false,
|
auto_config bool default false,
|
||||||
secret character varying(50),
|
secret character varying(50),
|
||||||
type character varying(50) default 'zlm',
|
type character varying(50) default 'zlm',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user