设备信息增加最近注册时间和最近心跳时间,心跳超时时间变为可配置
This commit is contained in:
@@ -31,6 +31,9 @@ public class SipConfig {
|
||||
@Value("${sip.ptz.speed:50}")
|
||||
Integer speed;
|
||||
|
||||
@Value("${sip.keepaliveTimeOut:180}")
|
||||
Integer keepaliveTimeOut;
|
||||
|
||||
public String getMonitorIp() {
|
||||
return monitorIp;
|
||||
}
|
||||
@@ -63,4 +66,7 @@ public class SipConfig {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public Integer getKeepaliveTimeOut() {
|
||||
return keepaliveTimeOut;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user