From d5e8aa62a11352f228ba449b204d53d4e17897a5 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 05 九月 2022 17:10:21 +0800 Subject: [PATCH] 添加对海康平台录像回放的兼容,修复录像信息发送失败, 级联平台支持开启rtcp保活 --- src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java index 4776551..017b39d 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/UserSetting.java @@ -19,7 +19,7 @@ private Boolean seniorSdp = Boolean.FALSE; - private Long playTimeout = 18000L; + private Integer playTimeout = 18000; private int platformPlayTimeout = 60000; @@ -30,8 +30,6 @@ private Boolean recordSip = Boolean.TRUE; private Boolean logInDatebase = Boolean.TRUE; - - private Boolean redisConfig = Boolean.TRUE; private String serverId = "000000"; @@ -55,7 +53,7 @@ return seniorSdp; } - public Long getPlayTimeout() { + public Integer getPlayTimeout() { return playTimeout; } @@ -83,7 +81,7 @@ this.seniorSdp = seniorSdp; } - public void setPlayTimeout(Long playTimeout) { + public void setPlayTimeout(Integer playTimeout) { this.playTimeout = playTimeout; } @@ -121,14 +119,6 @@ public void setThirdPartyGBIdReg(String thirdPartyGBIdReg) { this.thirdPartyGBIdReg = thirdPartyGBIdReg; - } - - public Boolean getRedisConfig() { - return redisConfig; - } - - public void setRedisConfig(Boolean redisConfig) { - this.redisConfig = redisConfig; } public Boolean getRecordSip() { -- Gitblit v1.8.0