From d68f9c813341afa82726e6182cca8af61248fc5e Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 06 十二月 2021 10:44:33 +0800 Subject: [PATCH] 修复选择直播通道缺失了通道类型的问题 --- src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java index 709fe9c..4c24d14 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/SipConfig.java @@ -1,9 +1,7 @@ package com.genersoft.iot.vmp.conf; -import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.context.annotation.Configuration; import org.springframework.stereotype.Component; @Component @@ -27,9 +25,11 @@ Integer ptzSpeed = 50; - Integer keepaliveTimeOut = 180; + Integer keepaliveTimeOut = 255; Integer registerTimeInterval = 60; + + private boolean alarm = false; public void setIp(String ip) { this.ip = ip; @@ -106,4 +106,12 @@ public Integer getRegisterTimeInterval() { return registerTimeInterval; } + + public boolean isAlarm() { + return alarm; + } + + public void setAlarm(boolean alarm) { + this.alarm = alarm; + } } -- Gitblit v1.8.0