x修改心跳失效时间从180到255
parent
b4c59662ac
commit
5854549302
|
@ -1,9 +1,7 @@
|
||||||
package com.genersoft.iot.vmp.conf;
|
package com.genersoft.iot.vmp.conf;
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
import org.springframework.context.annotation.Configuration;
|
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
|
@ -27,7 +25,7 @@ public class SipConfig {
|
||||||
|
|
||||||
Integer ptzSpeed = 50;
|
Integer ptzSpeed = 50;
|
||||||
|
|
||||||
Integer keepaliveTimeOut = 180;
|
Integer keepaliveTimeOut = 255;
|
||||||
|
|
||||||
Integer registerTimeInterval = 60;
|
Integer registerTimeInterval = 60;
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ sip:
|
||||||
# [可选] 默认设备认证密码,后续扩展使用设备单独密码, 移除密码将不进行校验
|
# [可选] 默认设备认证密码,后续扩展使用设备单独密码, 移除密码将不进行校验
|
||||||
password: admin123
|
password: admin123
|
||||||
# [可选] 心跳超时时间, 建议设置为心跳周期的三倍
|
# [可选] 心跳超时时间, 建议设置为心跳周期的三倍
|
||||||
keepalive-timeout: 180
|
keepalive-timeout: 255
|
||||||
# [可选] 国标级联注册失败,再次发起注册的时间间隔。 默认60秒
|
# [可选] 国标级联注册失败,再次发起注册的时间间隔。 默认60秒
|
||||||
register-time-interval: 60
|
register-time-interval: 60
|
||||||
# [可选] 云台控制速度
|
# [可选] 云台控制速度
|
||||||
|
|
Loading…
Reference in New Issue